Class DescribableHelper.Schema
java.lang.Object
org.jenkinsci.plugins.workflow.structs.DescribableHelper.Schema
- Enclosing class:
- DescribableHelper
Definition of how a particular class may be configured.
-
Method Summary
Modifier and TypeMethodDescriptionCorresponds toDescriptor.getDisplayName()
where available.Loads help defined for this object as a whole or one of its parameters.Class<?>
getType()
A concrete class, usuallyDescribable
.Mandatory (constructor) parameters, in order.A map from parameter names to types.toString()
-
Method Details
-
getType
A concrete class, usuallyDescribable
. -
parameters
A map from parameter names to types. A parameter name is either the name of an argument to aDataBoundConstructor
, or the JavaBeans property name corresponding to aDataBoundSetter
. -
mandatoryParameters
Mandatory (constructor) parameters, in order. Parameters at the end of the list may be omitted, in which case they are assumed to be null or some other default value (in these cases it would be better to useDataBoundSetter
on the type definition). Will be keys inparameters
. -
getDisplayName
Corresponds toDescriptor.getDisplayName()
where available. -
getHelp
Loads help defined for this object as a whole or one of its parameters. Note that you may need to useUtil.replaceMacro(String, Map)
to replace${rootURL}
with some other value.- Parameters:
parameter
- if specified, one ofparameters
; else for the whole object- Returns:
- some HTML (in English locale), if available, else null
- Throws:
IOException
- See Also:
-
toString
-