Class ValidatingYamlParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
io.jenkins.plugins.validating_yaml_parameter.ValidatingYamlParameterDefinition
- All Implemented Interfaces:
ExtensionPoint
,Describable<ParameterDefinition>
,Serializable
- Author:
- csanchez
- See Also:
-
Nested Class Summary
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
ConstructorDescriptionValidatingYamlParameterDefinition
(String name, String defaultValue, String failedValidationMessage, String description) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithDefaultValue
(ParameterValue defaultValue) createValue
(CLICommand command, String value) createValue
(org.kohsuke.stapler.StaplerRequest req) createValue
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) getName()
getValue()
Methods inherited from class hudson.model.ParameterDefinition
all, createValue, createValue, equals, getDescriptor, getFormattedDescription, getType, hashCode, isValid, setDescription
-
Constructor Details
-
ValidatingYamlParameterDefinition
-
-
Method Details
-
getDefaultValue
-
getValue
-
getName
- Overrides:
getName
in classParameterDefinition
-
getDescription
- Overrides:
getDescription
in classParameterDefinition
-
getFailedValidationMessage
-
getDefaultParameterValue
- Overrides:
getDefaultParameterValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) - Overrides:
createValue
in classParameterDefinition
-
createValue
- Overrides:
createValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(CLICommand command, String value) throws IOException, InterruptedException - Overrides:
createValue
in classParameterDefinition
- Throws:
IOException
InterruptedException
-
copyWithDefaultValue
- Overrides:
copyWithDefaultValue
in classParameterDefinition
-