Package com.atlassian.bamboo.credentials
Interface CredentialsData
- All Superinterfaces:
BambooIdProvider
,ImmutableEntityWithOid
,PluginKeyProvider
- All Known Subinterfaces:
MutableCredentialsData
- All Known Implementing Classes:
CredentialsDataEntity
,CredentialsDataImpl
@PublicApi
public interface CredentialsData
extends BambooIdProvider, ImmutableEntityWithOid, PluginKeyProvider
Shared Credentials object representation.
You can use this object to share authentication/authorization credentials, to accessing repositories or other resources.
-
Method Summary
Modifier and TypeMethodDescriptiondefault BambooEntityType
Entity type of this object, used inBambooEntityOid
.getName()
@Nullable Long
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
-
Method Details
-
getPluginKey
String getPluginKey()- Specified by:
getPluginKey
in interfacePluginKeyProvider
- Returns:
- full plugin module key
-
getName
String getName() -
getConfiguration
- Returns:
- immutable map containing credentials configuration
-
getEntityType
Description copied from interface:ImmutableEntityWithOid
Entity type of this object, used inBambooEntityOid
.- Specified by:
getEntityType
in interfaceImmutableEntityWithOid
-
getProjectId
- Returns:
- id of associated
Project
or null if it is a global shared credential
-