public class CredentialsParameterDefinition
extends hudson.model.SimpleParameterDefinition
ParameterDefinition for a parameter that supplies a Credentials.| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialsParameterDefinition.DescriptorImpl
Our descriptor.
|
| Constructor and Description |
|---|
CredentialsParameterDefinition(String name,
String description,
String defaultValue,
String credentialType,
boolean required) |
| 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) |
String |
getCredentialType() |
hudson.model.ParameterValue |
getDefaultParameterValue() |
String |
getDefaultValue() |
boolean |
isRequired() |
public hudson.model.ParameterDefinition copyWithDefaultValue(hudson.model.ParameterValue defaultValue)
copyWithDefaultValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue getDefaultParameterValue()
getDefaultParameterValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue createValue(String value)
createValue in class hudson.model.SimpleParameterDefinitionpublic String getDefaultValue()
public String getCredentialType()
public boolean isRequired()
Copyright © 2016–2018. All rights reserved.