public class PersistentBooleanParameterDefinition
extends hudson.model.SimpleParameterDefinition
ParameterDefinition that is either 'true' or 'false'.| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentBooleanParameterDefinition.DescriptorImpl |
| Constructor and Description |
|---|
PersistentBooleanParameterDefinition(String name,
boolean defaultValue,
boolean successfulOnly,
String description) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.ParameterDefinition |
copyWithDefaultValue(hudson.model.ParameterValue defaultValue) |
hudson.model.ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo) |
hudson.model.ParameterValue |
createValue(String value) |
hudson.model.BooleanParameterValue |
getDefaultParameterValue() |
boolean |
isDefaultValue() |
boolean |
isSuccessfulOnly() |
public hudson.model.ParameterDefinition copyWithDefaultValue(hudson.model.ParameterValue defaultValue)
copyWithDefaultValue in class hudson.model.ParameterDefinitionpublic boolean isDefaultValue()
public boolean isSuccessfulOnly()
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue createValue(String value)
createValue in class hudson.model.SimpleParameterDefinitionpublic hudson.model.BooleanParameterValue getDefaultParameterValue()
getDefaultParameterValue in class hudson.model.ParameterDefinitionCopyright © 2004-2020. All Rights Reserved.