Package jenkins.tasks.filters
Interface EnvVarsFilterLocalRule
- All Superinterfaces:
Describable<EnvVarsFilterLocalRule>
,EnvVarsFilterRule
,ExtensionPoint
,Serializable
- All Known Implementing Classes:
RetainVariablesLocalRule
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public interface EnvVarsFilterLocalRule
extends Describable<EnvVarsFilterLocalRule>, EnvVarsFilterRule, ExtensionPoint, Serializable
Environment variables filter rule that is specific to a job configuration, using script-specific variables, etc.
The job types can be filtered using EnvVarsFilterLocalRuleDescriptor.isApplicable(Class)
The local rules are applied before the global ones.
- Since:
- 2.246
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Method Summary
Modifier and TypeMethodDescriptiondefault EnvVarsFilterLocalRuleDescriptor
Gets the descriptor for this instance.Methods inherited from interface jenkins.tasks.filters.EnvVarsFilterRule
filter, getDisplayName
-
Method Details
-
getDescriptor
Description copied from interface:Describable
Gets the descriptor for this instance.Descriptor
is a singleton for every concreteDescribable
implementation, so ifa.getClass() == b.getClass()
then by defaulta.getDescriptor() == b.getDescriptor()
as well. (In rare cases a single implementation class may be used for instances with distinct descriptors.)- Specified by:
getDescriptor
in interfaceDescribable<EnvVarsFilterLocalRule>
-