Class DeclarativeOptionDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<DeclarativeOption>
-
- org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOptionDescriptor
-
public abstract class DeclarativeOptionDescriptor extends Descriptor<DeclarativeOption>
-
-
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
Constructors Constructor Description DeclarativeOptionDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<DeclarativeOptionDescriptor>
all()
Get allDeclarativeOptionDescriptor
s.boolean
canUseInStage()
If true, this option can be used in stages and is relevant there.String
getName()
boolean
isStageOnly()
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
-
-
-
-
Method Detail
-
getName
@NonNull public String 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
public static List<DeclarativeOptionDescriptor> all()
Get allDeclarativeOptionDescriptor
s.- Returns:
- a list of all
DeclarativeOptionDescriptor
s registered.`
-
-