Class JsonEditorParameterDefinition
- java.lang.Object
-
- hudson.model.ParameterDefinition
-
- hudson.model.SimpleParameterDefinition
-
- io.jenkins.plugins.json_editor_parameter.JsonEditorParameterDefinition
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ParameterDefinition>
,Serializable
public class JsonEditorParameterDefinition extends SimpleParameterDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonEditorParameterDefinition.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.ParameterDefinition
LIST
-
-
Constructor Summary
Constructors Constructor Description JsonEditorParameterDefinition(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonEditorParameterDefinition
copyWithDefaultValue(ParameterValue defaultValue)
JsonEditorParameterValue
createValue(String json)
JsonEditorParameterValue
createValue(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject jo)
JsonEditorParameterValue
getDefaultParameterValue()
String
getMergedOptions()
void
setOptions(String options)
void
setSchema(String schema)
void
setStartval(String startval)
-
Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValue
-
Methods inherited from class hudson.model.ParameterDefinition
all, equals, getDescription, getDescriptor, getFormattedDescription, getName, getType, hashCode, isValid, setDescription
-
-
-
-
Constructor Detail
-
JsonEditorParameterDefinition
@DataBoundConstructor public JsonEditorParameterDefinition(String name)
-
-
Method Detail
-
setSchema
@DataBoundSetter public void setSchema(String schema)
-
setStartval
@DataBoundSetter public void setStartval(String startval)
-
setOptions
@DataBoundSetter public void setOptions(String options)
-
getMergedOptions
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public String getMergedOptions()
-
copyWithDefaultValue
public JsonEditorParameterDefinition copyWithDefaultValue(ParameterValue defaultValue)
- Overrides:
copyWithDefaultValue
in classParameterDefinition
-
createValue
public JsonEditorParameterValue createValue(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject jo)
- Specified by:
createValue
in classParameterDefinition
-
createValue
public JsonEditorParameterValue createValue(String json)
- Specified by:
createValue
in classSimpleParameterDefinition
-
getDefaultParameterValue
public JsonEditorParameterValue getDefaultParameterValue()
- Overrides:
getDefaultParameterValue
in classParameterDefinition
-
-