Package com.atlassian.bamboo.credentials
Class CredentialsDataImpl
- java.lang.Object
-
- com.atlassian.bamboo.credentials.CredentialsDataImpl
-
- All Implemented Interfaces:
BambooIdProvider,ImmutableEntityWithOid,CredentialsData,PluginKeyProvider
public class CredentialsDataImpl extends Object implements CredentialsData
-
-
Constructor Summary
Constructors Constructor Description CredentialsDataImpl(@NotNull CredentialsData other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)@NotNull Map<String,String>getConfiguration()longgetId()StringgetName()BambooEntityOidgetOid()OID assigned to this object.StringgetPluginKey()@Nullable LonggetProjectId()inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.credentials.CredentialsData
getEntityType
-
-
-
-
Constructor Detail
-
CredentialsDataImpl
public CredentialsDataImpl(@NotNull @NotNull CredentialsData other)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider
-
getOid
public BambooEntityOid getOid()
Description copied from interface:ImmutableEntityWithOidOID assigned to this object. TheBambooEntityOid.getEntityType()should be the same as this object'sImmutableEntityWithOid.getEntityType().- Specified by:
getOidin interfaceImmutableEntityWithOid
-
getPluginKey
public String getPluginKey()
- Specified by:
getPluginKeyin interfaceCredentialsData- Specified by:
getPluginKeyin interfacePluginKeyProvider- Returns:
- full plugin module key
-
getName
public String getName()
- Specified by:
getNamein interfaceCredentialsData
-
getConfiguration
@NotNull public @NotNull Map<String,String> getConfiguration()
- Specified by:
getConfigurationin interfaceCredentialsData- Returns:
- immutable map containing credentials configuration
-
getProjectId
@Nullable public @Nullable Long getProjectId()
- Specified by:
getProjectIdin interfaceCredentialsData- Returns:
- id of associated
Projector null if it is a global shared credential
-
-