Class ViewCredentialsAction.TableEntry
java.lang.Object
com.cloudbees.plugins.credentials.ViewCredentialsAction.TableEntry
- All Implemented Interfaces:
IconSpec
- Enclosing class:
- ViewCredentialsAction
Value class to simplify creating the table.
-
Constructor Summary
ConstructorsConstructorDescriptionTableEntry
(CredentialsProvider provider, CredentialsStore store, Domain domain, Credentials credentials, boolean masked) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns theStandardCredentials.getDescription()
of thecredentials
.Exposes theDomain
.getId()
Returns theIdCredentials.getId()
of thecredentials
.getKind()
Returns theDescriptor.getDisplayName()
.getName()
Returns theCredentialsNameProvider.name(Credentials)
of thecredentials
.Exposes theCredentialsProvider
.getScope()
Returns theCredentials.getScope()
of thecredentials
.getStore()
Exposes theCredentialsStore
.boolean
isMasked()
Exposes if thisCredentials
's ID is masked by another credential.
-
Constructor Details
-
TableEntry
public TableEntry(CredentialsProvider provider, CredentialsStore store, Domain domain, Credentials credentials, boolean masked) Constructor.- Parameters:
provider
- the backingCredentialsProvider
.store
- the backingCredentialsStore
.domain
- the backingDomain
.credentials
- the backingCredentials
.masked
- whether this entry is masked or not.
-
-
Method Details
-
getId
Returns theIdCredentials.getId()
of thecredentials
.- Returns:
- the
IdCredentials.getId()
of thecredentials
.
-
getScope
Returns theCredentials.getScope()
of thecredentials
.- Returns:
- the
Credentials.getScope()
of thecredentials
.
-
getName
Returns theCredentialsNameProvider.name(Credentials)
of thecredentials
.- Returns:
- the
CredentialsNameProvider.name(Credentials)
of thecredentials
.
-
getDescription
Returns theStandardCredentials.getDescription()
of thecredentials
.- Returns:
- the
StandardCredentials.getDescription()
of thecredentials
. - Throws:
IOException
- if there was an issue with formatting this using the markup formatter.
-
getKind
Returns theDescriptor.getDisplayName()
.- Returns:
- the
Descriptor.getDisplayName()
.
-
getProvider
Exposes theCredentialsProvider
.- Returns:
- the
CredentialsProvider
.
-
getDomain
Exposes theDomain
.- Returns:
- the
Domain
.
-
getStore
Exposes theCredentialsStore
.- Returns:
- the
CredentialsStore
.
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
-
isMasked
public boolean isMasked()Exposes if thisCredentials
's ID is masked by another credential.- Returns:
true
if there is a closer credential with the same ID.
-