Class DefaultCheckmarxApiToken
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- com.checkmarx.jenkins.credentials.DefaultCheckmarxApiToken
-
- All Implemented Interfaces:
CheckmarxApiToken,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 DefaultCheckmarxApiToken extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements CheckmarxApiToken
Default implementation ofCheckmarxApiTokenfor use by JenkinsCredentialsProviderinstances that storeSecretlocally.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultCheckmarxApiToken.DefaultCheckmarxApiTokenDescriptor-
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 com.checkmarx.jenkins.credentials.CheckmarxApiToken
CheckmarxApiToken.NameProvider
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DefaultCheckmarxApiToken(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, @NonNull String clientId, @NonNull String secret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull StringgetClientId()@NonNull SecretgetToken()-
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
-
getClientId
@NonNull public @NonNull String getClientId()
- Specified by:
getClientIdin interfaceCheckmarxApiToken
-
getToken
@NonNull public @NonNull Secret getToken()
- Specified by:
getTokenin interfaceCheckmarxApiToken
-
-