@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.ContextResolverprovider - the CredentialsProviderpublic 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 nullCopyright © 2016–2017. All rights reserved.