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
All Methods Instance Methods Default Methods Modifier and Type Method Description default EnvVarsFilterLocalRuleDescriptor
getDescriptor()
Gets the descriptor for this instance.-
Methods inherited from interface jenkins.tasks.filters.EnvVarsFilterRule
filter, getDisplayName
-
-
-
-
Method Detail
-
getDescriptor
default EnvVarsFilterLocalRuleDescriptor 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>
-
-