@Extension public static class ParametersDefinitionProperty.DescriptorImpl extends OptionalJobProperty.OptionalJobPropertyDescriptor
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.
|
boolean |
isApplicable(Class<? extends Job> jobType)
Returns true if this
JobProperty type is applicable to the
given job type. |
newInstanceall, getPropertyDescriptorsaddHelpFileRedirect, 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 boolean isApplicable(Class<? extends Job> jobType)
JobPropertyDescriptorJobProperty type is applicable to the
given job type.
The default implementation of this method checks if the given job type is assignable to 'J' of
JobProperty<J>, but subtypes can extend this to change this behavior.
isApplicable in class JobPropertyDescriptorpublic String getDisplayName()
DescriptorClass.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.getDisplayName in class Descriptor<JobProperty<?>>Copyright © 2019. All rights reserved.