Class DirectiveDescriptor<T extends AbstractDirective<T>>
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- org.jenkinsci.plugins.pipeline.modeldefinition.generator.DirectiveDescriptor<T>
-
- Direct Known Subclasses:
AgentDirective.DescriptorImpl
,AxesDirective.DescriptorImpl
,AxisDirective.DescriptorImpl
,EnvironmentDirective.DescriptorImpl
,ExcludeDirective.DescriptorImpl
,ExcludesDirective.DescriptorImpl
,InputDirective.DescriptorImpl
,LibrariesDirective.DescriptorImpl
,MatrixDirective.DescriptorImpl
,OptionsDirective.DescriptorImpl
,ParametersDirective.DescriptorImpl
,PostDirective.DescriptorImpl
,StageDirective.DescriptorImpl
,StagesDirective.DescriptorImpl
,ToolsDirective.DescriptorImpl
,TriggersDirective.DescriptorImpl
,WhenDirective.DescriptorImpl
public abstract class DirectiveDescriptor<T extends AbstractDirective<T>> extends Descriptor<T>
-
-
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 DirectiveDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<DirectiveDescriptor>
all()
abstract List<Descriptor>
getDescriptors()
abstract String
getDisplayName()
abstract String
getName()
boolean
isTopLevel()
static String
symbolForDescriptor(Descriptor d)
abstract String
toGroovy(T directive)
String
toIndentedGroovy(T directive)
-
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, 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
-
isTopLevel
@NonNull public boolean isTopLevel()
-
getName
@NonNull public abstract String getName()
-
getDisplayName
@NonNull public abstract String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<T extends AbstractDirective<T>>
-
getDescriptors
@NonNull public abstract List<Descriptor> getDescriptors()
-
all
@NonNull public static ExtensionList<DirectiveDescriptor> all()
-
symbolForDescriptor
public static String symbolForDescriptor(@NonNull Descriptor d)
-
-