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 classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
static CredentialsBindingHandler
forCredential
(com.cloudbees.plugins.credentials.common.StandardCredentials c) static CredentialsBindingHandler
getWithCredentialsParameters
(String credentialsId) boolean
handles
(com.cloudbees.plugins.credentials.common.StandardCredentials c) boolean
abstract 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
-