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 {} -
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()static CredentialsBindingHandlerforCredential(com.cloudbees.plugins.credentials.common.StandardCredentials c) static CredentialsBindingHandlergetWithCredentialsParameters(String credentialsId) booleanhandles(com.cloudbees.plugins.credentials.common.StandardCredentials c) booleanabstract Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials>type()
-
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
-
all
-
supportedTypes
-
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
-