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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull Map<String,String>
getConfiguration()
default BambooEntityType
getEntityType()
Entity type of this object, used inBambooEntityOid
.String
getName()
String
getPluginKey()
@Nullable Long
getProjectId()
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
-
-
-
-
Method Detail
-
getPluginKey
String getPluginKey()
- Specified by:
getPluginKey
in interfacePluginKeyProvider
- Returns:
- full plugin module key
-
getName
String getName()
-
getConfiguration
@NotNull @NotNull Map<String,String> getConfiguration()
- Returns:
- immutable map containing credentials configuration
-
getEntityType
default BambooEntityType getEntityType()
Description copied from interface:ImmutableEntityWithOid
Entity type of this object, used inBambooEntityOid
.- Specified by:
getEntityType
in interfaceImmutableEntityWithOid
-
-