public class TriggerCredentialsImpl extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements TriggerCredentials
TriggerCredentials.| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerCredentialsImpl.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorTriggerCredentials.NameProvider| Constructor and Description |
|---|
TriggerCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String jenkinsUrl,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJenkinsUrl()
Returns the root url of the Jenkins instance that these trigger credentials are for.
|
hudson.util.Secret |
getPassword() |
static String |
normalizeUrl(String url)
Fix an url.
|
equals, getDescription, getId, hashCodegetDescriptor, getScopeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait@NonNull public static String normalizeUrl(@CheckForNull String url)
url - the jenkins URL.@NonNull public String getJenkinsUrl()
TriggerCredentialsgetJenkinsUrl in interface TriggerCredentials@NonNull public hudson.util.Secret getPassword()
getPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentialsCopyright © 2016–2018. All rights reserved.