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
-
Method Summary
Modifier and TypeMethodDescriptionNeeded 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
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.newInstance
(ItemGroup parent, String name) Methods inherited from class hudson.model.TopLevelItemDescriptor
all, checkApplicableIn, doCheckDisplayNameOrNull, getIconFilePath, isApplicable, isApplicableIn, newInstance, newInstance, testInstance
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classTopLevelItemDescriptor
-
newInstance
- Specified by:
newInstance
in classTopLevelItemDescriptor
-
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
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.- Overrides:
getDescription
in classTopLevelItemDescriptor
- Returns:
- A string with the Item description.
-
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.
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classTopLevelItemDescriptor
-
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
-