@Extension public class SystemCredentialsProvider extends hudson.model.AbstractDescribableImpl<SystemCredentialsProvider> implements hudson.model.Saveable
| Modifier and Type | Class and Description |
|---|---|
static class |
SystemCredentialsProvider.DescriptorImpl
Our management link descriptor.
|
static class |
SystemCredentialsProvider.ProviderImpl |
static class |
SystemCredentialsProvider.StoreImpl
Our
CredentialsStore. |
static class |
SystemCredentialsProvider.UserFacingAction
Expose the store.
|
| Constructor and Description |
|---|
SystemCredentialsProvider()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static hudson.XmlFile |
getConfigFile()
Gets the configuration file that this
CredentialsProvider uses to store its credentials. |
List<Credentials> |
getCredentials()
Get all the (
Domain.global()) credentials. |
List<DomainCredentials> |
getDomainCredentials()
Get all the credentials.
|
Map<Domain,List<Credentials>> |
getDomainCredentialsMap()
Get all the credentials.
|
static SystemCredentialsProvider |
getInstance()
Gets the singleton instance.
|
void |
save() |
void |
setDomainCredentialsMap(Map<Domain,List<Credentials>> domainCredentialsMap)
Set all the credentials.
|
public static hudson.XmlFile getConfigFile()
CredentialsProvider uses to store its credentials.CredentialsProvider uses to store its credentials.public static SystemCredentialsProvider getInstance()
public List<Credentials> getCredentials()
Domain.global()) credentials.Domain.global()) credentials.public List<DomainCredentials> getDomainCredentials()
@NonNull public Map<Domain,List<Credentials>> getDomainCredentialsMap()
public void setDomainCredentialsMap(Map<Domain,List<Credentials>> domainCredentialsMap)
domainCredentialsMap - all the credentials.public void save()
throws IOException
save in interface hudson.model.SaveableIOExceptionCopyright © 2016–2017. All rights reserved.