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.BaseStandardCredentialsDescriptor
TriggerCredentials.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, hashCode
getDescriptor, getScope
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
@NonNull public static String normalizeUrl(@CheckForNull String url)
url
- the jenkins URL.@NonNull public String getJenkinsUrl()
TriggerCredentials
getJenkinsUrl
in interface TriggerCredentials
@NonNull public hudson.util.Secret getPassword()
getPassword
in interface com.cloudbees.plugins.credentials.common.PasswordCredentials
Copyright © 2016–2018. All rights reserved.