Class KsmCredential
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- io.jenkins.plugins.ksm.credential.KsmCredential
-
- 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
public class KsmCredential extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KsmCredential.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
tokenErrorPrefix
static int
tokenHashLength
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAllowConfigInject()
Secret
getAppKey()
Secret
getClientId()
String
getCredentialError()
static KsmCredential
getCredentialFromId(String credentialId, Item item)
String
getHostname()
Secret
getPrivateKey()
boolean
getSkipSslVerification()
String
getToken()
-
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
-
-
-
-
Field Detail
-
tokenErrorPrefix
public static final String tokenErrorPrefix
- See Also:
- Constant Field Values
-
tokenHashLength
public static final int tokenHashLength
- See Also:
- Constant Field Values
-
-
Method Detail
-
getToken
public String getToken()
-
getClientId
public Secret getClientId()
-
getPrivateKey
public Secret getPrivateKey()
-
getAppKey
public Secret getAppKey()
-
getHostname
public String getHostname()
-
getSkipSslVerification
public boolean getSkipSslVerification()
-
getAllowConfigInject
public boolean getAllowConfigInject()
-
getCredentialError
public String getCredentialError()
-
getCredentialFromId
public static KsmCredential getCredentialFromId(String credentialId, Item item) throws Exception
- Throws:
Exception
-
-