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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
GcpCredentialsStore
-
-
Method Details
-
getContext
- Specified by:
getContext
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
hasPermission
public boolean hasPermission(@NonNull Authentication authentication, @NonNull Permission permission) - Specified by:
hasPermission
in interfaceAccessControlled
- Specified by:
hasPermission
in classcom.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 classcom.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 classcom.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 classcom.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 classcom.cloudbees.plugins.credentials.CredentialsStore
-
getStoreAction
@Nullable public com.cloudbees.plugins.credentials.CredentialsStoreAction getStoreAction()- Overrides:
getStoreAction
in classcom.cloudbees.plugins.credentials.CredentialsStore
-