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
SimplifiedBinding
handler for use inenvironment {}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CredentialsBindingHandler.EnvVarResolver
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CredentialsBindingHandler()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<CredentialsBindingHandler>
all()
static CredentialsBindingHandler
forCredential(com.cloudbees.plugins.credentials.common.StandardCredentials c)
static CredentialsBindingHandler
forId(String id, Run context)
abstract List<Map<String,Object>>
getWithCredentialsParameters(String credentialsId)
boolean
handles(com.cloudbees.plugins.credentials.common.StandardCredentials c)
boolean
handles(Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials> c)
static Set<String>
supportedTypeNames()
static Set<Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials>>
supportedTypes()
abstract Class<? extends com.cloudbees.plugins.credentials.common.StandardCredentials>
type()
-
-
-
Method Detail
-
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()
-
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
-
-