Class GcpCredentialsStore

java.lang.Object
com.cloudbees.plugins.credentials.CredentialsStore
io.jenkins.plugins.credentials.gcp.secretsmanager.GcpCredentialsStore
All Implemented Interfaces:
Saveable, AccessControlled

public class GcpCredentialsStore extends com.cloudbees.plugins.credentials.CredentialsStore
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from interface hudson.model.Saveable

    NOOP
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addCredentials(com.cloudbees.plugins.credentials.domains.Domain domain, com.cloudbees.plugins.credentials.Credentials credentials)
     
     
    List<com.cloudbees.plugins.credentials.Credentials>
    getCredentials(com.cloudbees.plugins.credentials.domains.Domain domain)
     
    com.cloudbees.plugins.credentials.CredentialsStoreAction
     
    boolean
    hasPermission(Authentication authentication, Permission permission)
     
    boolean
    removeCredentials(com.cloudbees.plugins.credentials.domains.Domain domain, com.cloudbees.plugins.credentials.Credentials credentials)
     
    boolean
    updateCredentials(com.cloudbees.plugins.credentials.domains.Domain domain, com.cloudbees.plugins.credentials.Credentials credentials, com.cloudbees.plugins.credentials.Credentials credentials1)
     

    Methods inherited from class com.cloudbees.plugins.credentials.CredentialsStore

    _isApplicable, addDomain, addDomain, checkPermission, getACL, getContextDisplayName, getCredentialsDescriptors, getDomainByName, getDomains, getProvider, getProviderOrDie, getRelativeLinkTo, getRelativeLinkToAction, getRelativeLinkToContext, getScopes, hasPermission, isApplicable, isDomainsModifiable, removeDomain, save, updateDomain

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface hudson.security.AccessControlled

    checkAnyPermission, hasAnyPermission, hasPermission2
  • Constructor Details

  • Method Details

    • getContext

      @NonNull public ModelObject getContext()
      Specified by:
      getContext in class com.cloudbees.plugins.credentials.CredentialsStore
    • hasPermission

      public boolean hasPermission(@NonNull Authentication authentication, @NonNull Permission permission)
      Specified by:
      hasPermission in interface AccessControlled
      Specified by:
      hasPermission in class com.cloudbees.plugins.credentials.CredentialsStore
    • getCredentials

      @NonNull public List<com.cloudbees.plugins.credentials.Credentials> getCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain)
      Specified by:
      getCredentials in class com.cloudbees.plugins.credentials.CredentialsStore
    • addCredentials

      public boolean addCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials credentials)
      Specified by:
      addCredentials in class com.cloudbees.plugins.credentials.CredentialsStore
    • removeCredentials

      public boolean removeCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials credentials)
      Specified by:
      removeCredentials in class com.cloudbees.plugins.credentials.CredentialsStore
    • updateCredentials

      public boolean updateCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials credentials, @NonNull com.cloudbees.plugins.credentials.Credentials credentials1)
      Specified by:
      updateCredentials in class com.cloudbees.plugins.credentials.CredentialsStore
    • getStoreAction

      @Nullable public com.cloudbees.plugins.credentials.CredentialsStoreAction getStoreAction()
      Overrides:
      getStoreAction in class com.cloudbees.plugins.credentials.CredentialsStore