public static class ViewCredentialsAction.TableEntry extends Object implements org.jenkins.ui.icon.IconSpec
| Constructor and Description |
|---|
TableEntry(CredentialsProvider provider,
CredentialsStore store,
Domain domain,
Credentials credentials,
boolean masked)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the
StandardCredentials.getDescription() of the credentials. |
Domain |
getDomain()
Exposes the
Domain. |
String |
getIconClassName() |
String |
getId()
Returns the
IdCredentials.getId() of the credentials. |
String |
getKind()
Returns the
Descriptor.getDisplayName(). |
String |
getName()
Returns the
CredentialsNameProvider.name(Credentials) of the credentials. |
CredentialsProvider |
getProvider()
Exposes the
CredentialsProvider. |
CredentialsScope |
getScope()
Returns the
Credentials.getScope() of the credentials. |
CredentialsStore |
getStore()
Exposes the
CredentialsStore. |
boolean |
isMasked()
Exposes if this
Credentials's ID is masked by another credential. |
public TableEntry(CredentialsProvider provider, CredentialsStore store, Domain domain, Credentials credentials, boolean masked)
provider - the backing CredentialsProvider.store - the backing CredentialsStore.domain - the backing Domain.credentials - the backing Credentials.masked - whether this entry is masked or not.public String getId()
IdCredentials.getId() of the credentials.IdCredentials.getId() of the credentials.public CredentialsScope getScope()
Credentials.getScope() of the credentials.Credentials.getScope() of the credentials.public String getName()
CredentialsNameProvider.name(Credentials) of the credentials.CredentialsNameProvider.name(Credentials) of the credentials.public String getDescription() throws IOException
StandardCredentials.getDescription() of the credentials.StandardCredentials.getDescription() of the credentials.IOException - if there was an issue with formatting this using the markup formatter.public String getKind()
Descriptor.getDisplayName().Descriptor.getDisplayName().public CredentialsProvider getProvider()
CredentialsProvider.CredentialsProvider.public CredentialsStore getStore()
CredentialsStore.CredentialsStore.public String getIconClassName()
getIconClassName in interface org.jenkins.ui.icon.IconSpecpublic boolean isMasked()
Credentials's ID is masked by another credential.true if there is a closer credential with the same ID.Copyright © 2016–2018. All rights reserved.