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
Nested ClassesModifier and TypeClassDescriptionstatic classOur descriptor.Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ParameterDefinition
LIST -
Constructor Summary
ConstructorsConstructorDescriptionCredentialsParameterDefinition(String name, String description, String defaultValue, String credentialType, boolean required) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithDefaultValue(ParameterValue defaultValue) createValue(String value) createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) booleanMethods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValueMethods inherited from class hudson.model.ParameterDefinition
all, createValue, createValue, equals, getDescription, getDescriptor, getFormattedDescription, getName, getType, hashCode, isValid, setDescription
-
Constructor Details
-
CredentialsParameterDefinition
-
-
Method Details
-
copyWithDefaultValue
- Overrides:
copyWithDefaultValuein classParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) - Overrides:
createValuein classParameterDefinition
-
getDefaultParameterValue
- Overrides:
getDefaultParameterValuein classParameterDefinition
-
createValue
- Specified by:
createValuein classSimpleParameterDefinition
-
getDefaultValue
-
getCredentialType
-
isRequired
public boolean isRequired()
-