@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class CredentialsSelectHelper.WrappedCredentialsStore extends Object implements org.jenkins.ui.icon.IconSpec, hudson.model.ModelObject
CredentialsStore.| Constructor and Description |
|---|
WrappedCredentialsStore(CredentialsSelectHelper.ContextResolver resolver,
CredentialsProvider provider,
String token,
CredentialsStore store)
Our constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAddCredentials(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Stapler web binding for adding credentials to the domain.
|
List<CredentialsDescriptor> |
getCredentialsDescriptors()
Exposes the
CredentialsDescriptor instances appropriate for this CredentialsStore. |
String |
getDescription()
Exposes the description of this store (i.e.
|
String |
getDisplayName() |
String |
getIconClassName() |
CredentialsStore |
getStore()
The backing
CredentialsStore. |
String |
getUrl()
Exposes our URL (as we will be invoked from an unknown page so we need an absolute URL).
|
CredentialsStoreAction.DomainWrapper |
getWrapper()
Returns a
CredentialsStoreAction.DomainWrapper to use for contextualizing the credentials form. |
Map<String,CredentialsStoreAction.DomainWrapper> |
getWrappers()
The
CredentialsStoreAction.DomainWrapper instances. |
public WrappedCredentialsStore(CredentialsSelectHelper.ContextResolver resolver, CredentialsProvider provider, String token, CredentialsStore store)
resolver - the CredentialsSelectHelper.ContextResolverprovider - the CredentialsProvidertoken - the context's CredentialsSelectHelper.ContextResolver.getToken(ModelObject).store - the CredentialsStorepublic void doAddCredentials(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
req - the request.rsp - the response.IOException - if something goes wrong.javax.servlet.ServletException - if something goes wrong.public CredentialsStoreAction.DomainWrapper getWrapper()
CredentialsStoreAction.DomainWrapper to use for contextualizing the credentials form.CredentialsStoreAction.DomainWrapper to use for contextualizing the credentials form.public String getIconClassName()
getIconClassName in interface org.jenkins.ui.icon.IconSpecpublic String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectpublic String getDescription()
CredentialsProvider.getDisplayName().CredentialsProvider.getDisplayName().public String getUrl()
public List<CredentialsDescriptor> getCredentialsDescriptors()
CredentialsDescriptor instances appropriate for this CredentialsStore.CredentialsDescriptor instances appropriate for this CredentialsStore.public Map<String,CredentialsStoreAction.DomainWrapper> getWrappers()
CredentialsStoreAction.DomainWrapper instances.CredentialsStoreAction.DomainWrapper instances.public CredentialsStore getStore()
CredentialsStore.CredentialsStore.Copyright © 2016–2018. All rights reserved.