Class 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 of CheckmarxApiToken for use by Jenkins CredentialsProvider instances that store Secret locally.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DefaultCheckmarxApiToken.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.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NonNull String getClientId()  
      @NonNull Secret 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
      • Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

        forRun, getDescriptor, getScope
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

        getId
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

        getDescription
    • Constructor Detail

      • DefaultCheckmarxApiToken

        @DataBoundConstructor
        public DefaultCheckmarxApiToken​(com.cloudbees.plugins.credentials.CredentialsScope scope,
                                        String id,
                                        String description,
                                        @NonNull
                                        @NonNull String clientId,
                                        @NonNull
                                        @NonNull String secret)