Interface EnvVarsFilterGlobalRule

    • Method Detail

      • isApplicable

        boolean isApplicable​(@CheckForNull
                             Run<?,​?> run,
                             @NonNull
                             Object builder,
                             @NonNull
                             Launcher launcher)
        Parameters:
        run - The executing run that has one of its step requiring environment filters
        builder - Normally inherits from EnvVarsFilterableBuilder but not forced to let reflection usage in plugins
        launcher - The launcher that will be used to run the command
        Returns:
        true iff the rule can be applied to that builder