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 -
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:dropdownDescriptorSelectordefaults to applyingh.filterDescriptorsNeeded 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, testInstanceMethods 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:
getDisplayNamein classTopLevelItemDescriptor
-
newInstance
- Specified by:
newInstancein classTopLevelItemDescriptor
-
getCategoryId
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x. TODO: Replace toStandaloneProjectsCategory.ID- Overrides:
getCategoryIdin classTopLevelItemDescriptor- Returns:
- A string it represents a ItemCategory identifier.
-
getDescription
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.- Overrides:
getDescriptionin classTopLevelItemDescriptor- Returns:
- A string with the Item description.
-
getIconFilePathPattern
Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.- Overrides:
getIconFilePathPatternin classTopLevelItemDescriptor- Returns:
- A string it represents a URL pattern to get the Item icon in different sizes.
-
getIconClassName
- Specified by:
getIconClassNamein interfaceIconSpec- Overrides:
getIconClassNamein 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:dropdownDescriptorSelectordefaults to applyingh.filterDescriptors
-