@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class CredentialsSelectHelper.WrappedContextResolverCredentialsProvider extends Object
CredentialsSelectHelper.ContextResolver
and CredentialsProvider
.Constructor and Description |
---|
WrappedContextResolverCredentialsProvider(CredentialsSelectHelper.ContextResolver resolver,
CredentialsProvider provider)
Our constructor.
|
Modifier and Type | Method and Description |
---|---|
CredentialsSelectHelper.WrappedCredentialsStore |
getContext(String token)
Stapler web binding for the
ModelObject representing the context of the store. |
public WrappedContextResolverCredentialsProvider(@NonNull CredentialsSelectHelper.ContextResolver resolver, @NonNull CredentialsProvider provider)
resolver
- the CredentialsSelectHelper.ContextResolver
provider
- the CredentialsProvider
public CredentialsSelectHelper.WrappedCredentialsStore getContext(String token)
ModelObject
representing the context of the store.token
- the CredentialsSelectHelper.ContextResolver.getToken(ModelObject)
of the context of the store.CredentialsSelectHelper.WrappedContextResolverCredentialsProvider
or null
Copyright © 2016–2021. All rights reserved.