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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnvVarsFilterRuleWrapper
createRuleWrapper
(Run<?, ?> run, Object builder, Launcher launcher, List<EnvVarsFilterLocalRule> localRules) void
filter
(EnvVars envVars, Launcher launcher, TaskListener listener)
-
Constructor Details
-
EnvVarsFilterRuleWrapper
-
-
Method Details
-
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
-