public class CBTCredentials
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
implements com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
| Modifier and Type | Class and Description |
|---|---|
static class |
CBTCredentials.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorcom.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials.NameProvider| Modifier and Type | Field and Description |
|---|---|
static com.cloudbees.plugins.credentials.domains.DomainRequirement |
DOMAIN_REQUIREMENT |
| Constructor and Description |
|---|
CBTCredentials(String username,
String authkey) |
| Modifier and Type | Method and Description |
|---|---|
static List<CBTCredentials> |
all(hudson.model.Item context) |
static List<CBTCredentials> |
all(hudson.model.ItemGroup context) |
String |
getAuthkey() |
static CBTCredentials |
getCredentials(hudson.model.AbstractItem buildItem,
String credentialsId) |
hudson.util.Secret |
getPassword() |
String |
getUsername() |
equals, getDescription, getId, hashCodegetDescriptor, getScopeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic static final com.cloudbees.plugins.credentials.domains.DomainRequirement DOMAIN_REQUIREMENT
@DataBoundConstructor public CBTCredentials(@CheckForNull String username, @CheckForNull String authkey)
public String getUsername()
getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentialspublic hudson.util.Secret getPassword()
getPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentialspublic String getAuthkey()
public static List<CBTCredentials> all(hudson.model.ItemGroup context)
public static List<CBTCredentials> all(hudson.model.Item context)
public static CBTCredentials getCredentials(hudson.model.AbstractItem buildItem, String credentialsId)
Copyright © 2016–2017 CrossBrowserTesting.com. All rights reserved.