Class WorkflowJob.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<TopLevelItem>
-
- hudson.model.TopLevelItemDescriptor
-
- org.jenkinsci.plugins.workflow.job.WorkflowJob.DescriptorImpl
-
- Enclosing class:
- WorkflowJob
@Extension(ordinal=1.0) @Symbol("pipeline") public static final class WorkflowJob.DescriptorImpl extends TopLevelItemDescriptor
-
-
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 DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategoryId()
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.Collection<org.jenkinsci.plugins.workflow.flow.FlowDefinitionDescriptor>
getDefinitionDescriptors(WorkflowJob context)
TODO JENKINS-20020 can delete this in casef:dropdownDescriptorSelector
defaults to applyingh.filterDescriptors
String
getDescription()
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.String
getDisplayName()
String
getIconFilePathPattern()
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.TopLevelItem
newInstance(ItemGroup parent, String name)
-
Methods inherited from class hudson.model.TopLevelItemDescriptor
all, checkApplicableIn, getIconClassName, getIconFilePath, isApplicable, isApplicableIn, newInstance, newInstance, testInstance
-
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classTopLevelItemDescriptor
-
newInstance
public TopLevelItem newInstance(ItemGroup parent, String name)
- Specified by:
newInstance
in classTopLevelItemDescriptor
-
getCategoryId
@NonNull public String getCategoryId()
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x. TODO: Replace toStandaloneProjectsCategory.ID
- Overrides:
getCategoryId
in classTopLevelItemDescriptor
- Returns:
- A string it represents a ItemCategory identifier.
-
getDescription
@NonNull public String getDescription()
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.- Overrides:
getDescription
in classTopLevelItemDescriptor
- Returns:
- A string with the Item description.
-
getIconFilePathPattern
public String getIconFilePathPattern()
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.- Overrides:
getIconFilePathPattern
in classTopLevelItemDescriptor
- Returns:
- A string it represents a URL pattern to get the Item icon in different sizes.
-
getDefinitionDescriptors
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public Collection<org.jenkinsci.plugins.workflow.flow.FlowDefinitionDescriptor> getDefinitionDescriptors(WorkflowJob context)
TODO JENKINS-20020 can delete this in casef:dropdownDescriptorSelector
defaults to applyingh.filterDescriptors
-
-