Class DeclarativeOptionDescriptor
java.lang.Object
hudson.model.Descriptor<DeclarativeOption>
org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOptionDescriptor
-
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<DeclarativeOptionDescriptor>
all()
Get allDeclarativeOptionDescriptor
s.boolean
If true, this option can be used in stages and is relevant there.getName()
boolean
If true, this option can *only* be used in stages.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DeclarativeOptionDescriptor
public DeclarativeOptionDescriptor()
-
-
Method Details
-
getName
-
canUseInStage
public boolean canUseInStage()If true, this option can be used in stages and is relevant there. -
isStageOnly
public boolean isStageOnly()If true, this option can *only* be used in stages. -
all
Get allDeclarativeOptionDescriptor
s.- Returns:
- a list of all
DeclarativeOptionDescriptor
s registered.`
-