public final class DescribableParameter extends Object
DescribableModelDescribableModel.getParameter(String)| Modifier and Type | Method and Description |
|---|---|
String |
getCapitalizedName() |
Class |
getErasedType()
Gets the erasure of
getRawType() |
String |
getHelp()
Loads help defined for this parameter.
|
String |
getName() |
Type |
getRawType()
The type of this parameter, possibly with generics.
|
ParameterType |
getType()
Classification of the type of this parameter.
|
boolean |
isDeprecated()
True if this parameter is deprecated.
|
boolean |
isRequired()
True if this parameter is required.
|
String |
toString() |
public ParameterType getType()
Originates from the pipeline plugin and I'm not sure the logic behind this.
public Type getRawType()
public Class getErasedType()
getRawType()public String getName()
public String getCapitalizedName()
public boolean isRequired()
A parameter set via DataBoundSetter is considered optional.
Right now, all the parameters set via DataBoundConstructor is
considered mandatory, but this might change in the future.
public boolean isDeprecated()
A parameter is deprecated if the corresponding DataBoundSetter marked as Deprecated.
@CheckForNull public String getHelp() throws IOException
IOExceptionDescriptor.doHelp(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)Copyright © 2016. All rights reserved.