Class StringCredentialsImpl
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- org.jenkinsci.plugins.plaincredentials.impl.StringCredentialsImpl
-
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
,StringCredentials
public final class StringCredentialsImpl extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements StringCredentials
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringCredentialsImpl.DescriptorImpl
-
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
-
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
-
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.plaincredentials.StringCredentials
StringCredentials.NameProvider
-
-
Constructor Summary
Constructors Constructor Description StringCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, Secret secret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Secret
getSecret()
Returns the wrapped secret value.-
Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
-
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getSecret
public Secret getSecret()
Description copied from interface:StringCredentials
Returns the wrapped secret value.- Specified by:
getSecret
in interfaceStringCredentials
- Returns:
- the encrypted value
-
-