public static final class FreeStyleProject.DescriptorImpl extends AbstractProject.AbstractProjectDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
FreeStyleProject |
newInstance(ItemGroup parent,
String name)
Creates a new
TopLevelItem for the specified parent. |
doAutoCompleteAssignedLabelString, doAutoCompleteLabel, doAutoCompleteUpstreamProjects, doCheckAssignedLabelString, doCheckCustomWorkspace, doCheckLabel, getApplicableSCMCheckoutStrategyDescriptors, isApplicable, validateLabelExpressionall, checkApplicableIn, isApplicableIn, newInstance, newInstance, testInstanceaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getDisplayName()
TopLevelItemDescriptorClass.getSimpleName() on Descriptor.clazz, so for example MyThing from some.pkg.MyThing.DescriptorImpl.
Historically some implementations returned null as a way of hiding the descriptor from the UI,
but this is generally managed by an explicit method such as isEnabled or isApplicable.
Used as the caption when the user chooses what item type to create. The descriptor implementation also needs to have newInstanceDetail.jelly script, which will be used to render the text below the caption that explains the item type.
getDisplayName in class TopLevelItemDescriptorpublic FreeStyleProject newInstance(ItemGroup parent, String name)
TopLevelItemDescriptorTopLevelItem for the specified parent.newInstance in class TopLevelItemDescriptorCopyright © 2019. All rights reserved.