Class CredentialsParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
com.cloudbees.plugins.credentials.CredentialsParameterDefinition
- All Implemented Interfaces:
ExtensionPoint
,Describable<ParameterDefinition>
,Serializable
A
ParameterDefinition
for a parameter that supplies a Credentials
.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor.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
ConstructorDescriptionCredentialsParameterDefinition
(String name, String description, String defaultValue, String credentialType, boolean required) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithDefaultValue
(ParameterValue defaultValue) createValue
(String value) createValue
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) boolean
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 Details
-
CredentialsParameterDefinition
-
-
Method Details
-
copyWithDefaultValue
- Overrides:
copyWithDefaultValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) - Specified by:
createValue
in classParameterDefinition
-
getDefaultParameterValue
- Overrides:
getDefaultParameterValue
in classParameterDefinition
-
createValue
- Specified by:
createValue
in classSimpleParameterDefinition
-
getDefaultValue
-
getCredentialType
-
isRequired
public boolean isRequired()
-