@Extension public class SystemCredentialsProvider extends hudson.model.ManagementLink implements hudson.model.Describable<SystemCredentialsProvider>, hudson.model.Saveable, org.kohsuke.stapler.StaplerProxy
| Modifier and Type | Class and Description |
|---|---|
static class |
SystemCredentialsProvider.DescriptorImpl
Our management link descriptor.
|
static class |
SystemCredentialsProvider.ProviderImpl
The
CredentialsProvider that exposes credentials stored in
getCredentials() |
| Constructor and Description |
|---|
SystemCredentialsProvider()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doConfigSubmit(org.kohsuke.stapler.StaplerRequest req)
Handles form submission.
|
static hudson.XmlFile |
getConfigFile()
Gets the configuration file that this
CredentialsProvider uses to store its credentials. |
hudson.DescriptorExtensionList<Credentials,hudson.model.Descriptor<Credentials>> |
getCredentialDescriptors()
Gets all the credentials descriptors.
|
List<Credentials> |
getCredentials()
Get all the credentials.
|
String |
getDescription() |
hudson.model.Descriptor<SystemCredentialsProvider> |
getDescriptor() |
String |
getDisplayName() |
String |
getIconFileName() |
static SystemCredentialsProvider |
getInstance()
Gets the singleton instance.
|
Object |
getTarget()
Only sysadmin can access this page.
|
String |
getUrlName() |
void |
save() |
public String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.ManagementLinkpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getDescription()
getDescription in class hudson.model.ManagementLinkpublic String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkpublic List<Credentials> getCredentials()
public hudson.DescriptorExtensionList<Credentials,hudson.model.Descriptor<Credentials>> getCredentialDescriptors()
public hudson.model.Descriptor<SystemCredentialsProvider> getDescriptor()
getDescriptor in interface hudson.model.Describable<SystemCredentialsProvider>public Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic org.kohsuke.stapler.HttpResponse doConfigSubmit(org.kohsuke.stapler.StaplerRequest req)
throws javax.servlet.ServletException,
IOException
req - the request.javax.servlet.ServletException - if something goes wrong.IOException - if something goes wrong.public void save()
throws IOException
save in interface hudson.model.SaveableIOExceptionpublic static hudson.XmlFile getConfigFile()
CredentialsProvider uses to store its credentials.CredentialsProvider uses to store its credentials.public static SystemCredentialsProvider getInstance()
Copyright © 2004-2013. All Rights Reserved.