Class DescribableParameter
java.lang.Object
org.jenkinsci.plugins.structs.describable.DescribableParameter
A property of
DescribableModel
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the erasure ofgetRawType()
getHelp()
Loads help defined for this parameter.getName()
The type of this parameter, possibly with generics.getType()
Classification of the type of this parameter.boolean
True if this parameter is deprecated.boolean
True if this parameter is required.toString()
-
Method Details
-
getType
Classification of the type of this parameter.Originates from the pipeline plugin and I'm not sure the logic behind this.
-
getRawType
The type of this parameter, possibly with generics. -
getErasedType
Gets the erasure ofgetRawType()
-
getName
-
getCapitalizedName
-
isRequired
public boolean isRequired()True if this parameter is required.A parameter set via
DataBoundSetter
is considered optional. Right now, all the parameters set viaDataBoundConstructor
is considered mandatory, but this might change in the future. -
isDeprecated
public boolean isDeprecated()True if this parameter is deprecated.A parameter is deprecated if the corresponding
DataBoundSetter
marked asDeprecated
. -
getHelp
Loads help defined for this parameter.- Returns:
- some HTML (in English locale), if available, else null
- Throws:
IOException
- See Also:
-
toString
-