Class FolderCredentialsProvider

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.CredentialsProvider>
com.cloudbees.plugins.credentials.CredentialsProvider
com.cloudbees.hudson.plugins.folder.properties.FolderCredentialsProvider
All Implemented Interfaces:
ExtensionPoint, Describable<com.cloudbees.plugins.credentials.CredentialsProvider>, Saveable, Loadable, OnMaster, IconSpec

@Extension(optional=true) public class FolderCredentialsProvider extends com.cloudbees.plugins.credentials.CredentialsProvider
A store of credentials that can be used as a Stapler object.
  • Constructor Details

    • FolderCredentialsProvider

      public FolderCredentialsProvider()
  • Method Details

    • getScopes

      public Set<com.cloudbees.plugins.credentials.CredentialsScope> getScopes(ModelObject object)
      Overrides:
      getScopes in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getCredentialsInItemGroup

      @NonNull public <C extends com.cloudbees.plugins.credentials.Credentials> List<C> getCredentialsInItemGroup(@NonNull Class<C> type, @Nullable ItemGroup itemGroup, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
      Overrides:
      getCredentialsInItemGroup in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getCredentialsInItem

      @NonNull public <C extends com.cloudbees.plugins.credentials.Credentials> List<C> getCredentialsInItem(@NonNull Class<C> type, @NonNull Item item, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
      Overrides:
      getCredentialsInItem in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getCredentialIdsInItemGroup

      @NonNull public <C extends com.cloudbees.plugins.credentials.common.IdCredentials> ListBoxModel getCredentialIdsInItemGroup(@NonNull Class<C> type, @Nullable ItemGroup itemGroup, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements, @NonNull com.cloudbees.plugins.credentials.CredentialsMatcher matcher)
      Overrides:
      getCredentialIdsInItemGroup in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getCredentialIdsInItem

      @NonNull public <C extends com.cloudbees.plugins.credentials.common.IdCredentials> ListBoxModel getCredentialIdsInItem(@NonNull Class<C> type, @NonNull Item item, @Nullable org.springframework.security.core.Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements, @NonNull com.cloudbees.plugins.credentials.CredentialsMatcher matcher)
      Overrides:
      getCredentialIdsInItem in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getStore

      public com.cloudbees.plugins.credentials.CredentialsStore getStore(@CheckForNull ModelObject object)
      Overrides:
      getStore in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
      Overrides:
      getIconClassName in class com.cloudbees.plugins.credentials.CredentialsProvider