Class BlueOceanCredentialsProvider.FolderPropertyImpl.StoreImpl
java.lang.Object
com.cloudbees.plugins.credentials.CredentialsStore
io.jenkins.blueocean.rest.impl.pipeline.credential.BlueOceanCredentialsProvider.FolderPropertyImpl.StoreImpl
- All Implemented Interfaces:
Saveable
,AccessControlled
- Enclosing class:
- BlueOceanCredentialsProvider.FolderPropertyImpl
public class BlueOceanCredentialsProvider.FolderPropertyImpl.StoreImpl
extends com.cloudbees.plugins.credentials.CredentialsStore
-
Field 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) List<com.cloudbees.plugins.credentials.domains.Domain>
com.cloudbees.plugins.credentials.CredentialsStoreAction
boolean
hasPermission
(Authentication a, 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 current, com.cloudbees.plugins.credentials.Credentials replacement) Methods inherited from class com.cloudbees.plugins.credentials.CredentialsStore
_isApplicable, addDomain, addDomain, checkPermission, getACL, getContextDisplayName, getCredentialsDescriptors, getDisplayName, getDomainByName, getProvider, getProviderOrDie, getRelativeLinkTo, getRelativeLinkToAction, getRelativeLinkToContext, getScopes, hasPermission, hasPermission2, 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
-
Method Details
-
getDomains
- Overrides:
getDomains
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
getStoreAction
@Nullable public com.cloudbees.plugins.credentials.CredentialsStoreAction getStoreAction()- Overrides:
getStoreAction
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
getContext
- Specified by:
getContext
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
hasPermission
- Specified by:
hasPermission
in interfaceAccessControlled
- Overrides:
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) throws IOException - Specified by:
addCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
- Throws:
IOException
-
removeCredentials
public boolean removeCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials credentials) throws IOException - Specified by:
removeCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
- Throws:
IOException
-
updateCredentials
public boolean updateCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials current, @NonNull com.cloudbees.plugins.credentials.Credentials replacement) throws IOException - Specified by:
updateCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
- Throws:
IOException
-