Package jenkins.tasks.filters
Class EnvVarsFilterLocalRuleDescriptor
java.lang.Object
hudson.model.Descriptor<EnvVarsFilterLocalRule>
jenkins.tasks.filters.EnvVarsFilterLocalRuleDescriptor
- Direct Known Subclasses:
RetainVariablesLocalRule.DescriptorImpl
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public abstract class EnvVarsFilterLocalRuleDescriptor
extends Descriptor<EnvVarsFilterLocalRule>
Descriptor for the local rule. Compared to the global rule, it's the descriptor that determine
if the rule is applicable to a given builder and then applied every time.
For global rule it's the inverse, the rule itself determines when it's applicable.
- Since:
- 2.246
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<EnvVarsFilterLocalRuleDescriptor>
allApplicableFor
(Class<? extends EnvVarsFilterableBuilder> builderClass) abstract boolean
isApplicable
(Class<? extends EnvVarsFilterableBuilder> builderClass) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
EnvVarsFilterLocalRuleDescriptor
public EnvVarsFilterLocalRuleDescriptor()
-
-
Method Details
-
isApplicable
public abstract boolean isApplicable(@NonNull Class<? extends EnvVarsFilterableBuilder> builderClass) -
allApplicableFor
public static List<EnvVarsFilterLocalRuleDescriptor> allApplicableFor(Class<? extends EnvVarsFilterableBuilder> builderClass)
-