Class CredentialsBindingHandler<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>

java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.model.CredentialsBindingHandler<C>
All Implemented Interfaces:
ExtensionPoint

public abstract class CredentialsBindingHandler<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> extends Object implements ExtensionPoint
Simplified Binding handler for use in environment {}
  • Constructor Details

    • CredentialsBindingHandler

      public CredentialsBindingHandler()
  • Method Details

    • handles

      public boolean handles(Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> c)
    • handles

      public boolean handles(com.cloudbees.plugins.credentials.common.StandardCredentials c)
    • type

      @NonNull public abstract Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> type()
    • getWithCredentialsParameters

      @NonNull public abstract List<Map<String,Object>> getWithCredentialsParameters(String credentialsId)
    • all

      @NonNull public static ExtensionList<CredentialsBindingHandler> all()
    • supportedTypes

      @NonNull public static Set<Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials>> supportedTypes()
    • supportedTypeNames

      @NonNull public static Set<String> supportedTypeNames()
    • forCredential

      @CheckForNull public static CredentialsBindingHandler forCredential(com.cloudbees.plugins.credentials.common.StandardCredentials c)
    • forId

      @NonNull public static CredentialsBindingHandler forId(String id, Run context) throws org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException
      Throws:
      org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException