Package jenkins.tasks.filters
Class EnvVarsFilterRuleWrapper
- java.lang.Object
-
- jenkins.tasks.filters.EnvVarsFilterRuleWrapper
-
- All Implemented Interfaces:
Serializable
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class EnvVarsFilterRuleWrapper extends Object implements Serializable
Helper class that provide the list of rules (local + global) for a given builder.- Since:
- 2.246
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnvVarsFilterRuleWrapper(List<EnvVarsFilterRule> rules)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnvVarsFilterRuleWrapper
createRuleWrapper(Run<?,?> run, Object builder, Launcher launcher, List<EnvVarsFilterLocalRule> localRules)
void
filter(EnvVars envVars, Launcher launcher, TaskListener listener)
-
-
-
Constructor Detail
-
EnvVarsFilterRuleWrapper
public EnvVarsFilterRuleWrapper(@NonNull List<EnvVarsFilterRule> rules)
-
-
Method Detail
-
createRuleWrapper
@NonNull public static EnvVarsFilterRuleWrapper createRuleWrapper(@CheckForNull Run<?,?> run, @NonNull Object builder, @NonNull Launcher launcher, @NonNull List<EnvVarsFilterLocalRule> localRules)
-
filter
public void filter(@NonNull EnvVars envVars, @NonNull Launcher launcher, @NonNull TaskListener listener) throws EnvVarsFilterException
- Throws:
EnvVarsFilterException
-
-