public abstract static class ParameterDefinition.ParameterDescriptor extends Descriptor<ParameterDefinition>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Modifier | Constructor and Description |
---|---|
protected |
ParameterDescriptor()
Infers the type of the corresponding
ParameterDefinition.ParameterDescriptor from the outer class. |
protected |
ParameterDescriptor(Class<? extends ParameterDefinition> klazz) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
String |
getValuePage() |
addHelpFileRedirect, 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
protected ParameterDescriptor(Class<? extends ParameterDefinition> klazz)
protected ParameterDescriptor()
ParameterDefinition.ParameterDescriptor
from the outer class.
This version works when you follow the common convention, where a descriptor
is written as the static nested class of the describable class.public String getValuePage()
public String getDisplayName()
Descriptor
Class.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<ParameterDefinition>
Copyright © 2017. All rights reserved.