@NameWith(value=ConfluenceCredentials.NameProvider.class) public class ConfluenceCredentials extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements com.cloudbees.plugins.credentials.common.StandardCredentials
Modifier and Type | Class and Description |
---|---|
static class |
ConfluenceCredentials.DescriptorImpl
Descriptor class.
|
static class |
ConfluenceCredentials.NameProvider
Used to build the names shown in the dropdown list when choosing credentials.
|
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
Constructor and Description |
---|
ConfluenceCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String url,
String urlUsername,
String urlPassword)
Constructor, usually only called by Jenkins.
|
Modifier and Type | Method and Description |
---|---|
static ConfluenceCredentials |
getByID(String id)
Utility method for translating an id into an actual credentials object.
|
String |
getUrl() |
String |
getUrlPassword() |
String |
getUrlUsername() |
equals, getDescription, getId, hashCode
getDescriptor, getScope
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
@DataBoundConstructor public ConfluenceCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String url, String urlUsername, String urlPassword)
scope
- the scopeid
- the iddescription
- the descriptionurl
- the confluence urlurlUsername
- the username used for confluenceurlPassword
- the password used for confluencepublic String getUrl()
public String getUrlUsername()
public String getUrlPassword()
public static ConfluenceCredentials getByID(String id)
id
- the id of the credentials to queryCopyright © 2004-2018. All Rights Reserved.