@NameWith(value=JIRAProjectCredentials.NameProvider.class) public class JIRAProjectCredentials extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements com.cloudbees.plugins.credentials.common.StandardCredentials
| Modifier and Type | Class and Description |
|---|---|
static class |
JIRAProjectCredentials.DescriptorImpl
Descriptor class.
|
static class |
JIRAProjectCredentials.NameProvider
The name-provider, used to print the name of the credentials into the combobox.
|
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor| Constructor and Description |
|---|
JIRAProjectCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String url,
String urlUsername,
String urlPassword,
String projectKey)
Databound constructor, usually called by jenkins.
|
| Modifier and Type | Method and Description |
|---|---|
static JIRAProjectCredentials |
getByID(String id)
Utility method for translating an id into an actual credentials object.
|
String |
getProjectKey() |
String |
getUrl() |
String |
getUrlPassword() |
String |
getUrlUsername() |
equals, getDescription, getId, hashCodegetDescriptor, getScopeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait@DataBoundConstructor
public JIRAProjectCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String url,
String urlUsername,
String urlPassword,
String projectKey)
scope - the scopeid - the iddescription - the descriptionurl - the JIRA urlurlUsername - the user used to access jiraurlPassword - the passwordprojectKey - the key of the jira project.public String getUrl()
public String getUrlUsername()
public String getUrlPassword()
public String getProjectKey()
public static JIRAProjectCredentials getByID(String id)
id - the id of the credentials to queryCopyright © 2004-2018. All Rights Reserved.