Interface InternalDeploymentProject
- All Superinterfaces:
BambooIdProvider
,DescriptionProvider
,ImmutableEntityWithOid
,NameProvider
- All Known Subinterfaces:
DeploymentProject
,MutableDeploymentProject
- All Known Implementing Classes:
DeploymentProjectIdentifier
,DeploymentProjectImpl
,MutableDeploymentProjectImpl
@Internal
public interface InternalDeploymentProject
extends BambooIdProvider, NameProvider, DescriptionProvider, ImmutableEntityWithOid
Common interface between all types of Deployment Projects. Defines relationship between client side objects and db
objects. Though probably not useful for anything else. Be wary when adding things to this interface - be sure it
makes sense in all contexts.
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
default BambooEntityType
Entity type of this object, used inBambooEntityOid
.long
getId()
@NotNull DeploymentKey
getKey()
@NotNull String
getName()
@Nullable PlanKey
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
-
Method Details
-
getEntityType
Description copied from interface:ImmutableEntityWithOid
Entity type of this object, used inBambooEntityOid
.- Specified by:
getEntityType
in interfaceImmutableEntityWithOid
-
getId
long getId()- Specified by:
getId
in interfaceBambooIdProvider
- Returns:
- unique identifier (in this case from database)
-
getKey
-
getName
- Specified by:
getName
in interfaceDescriptionProvider
- Specified by:
getName
in interfaceNameProvider
- Returns:
- User friendly shortish name for this deployment project. Must be unique with in Bamboo
-
getDescription
- Specified by:
getDescription
in interfaceDescriptionProvider
- Returns:
- Optional, longer description of the project
-
getPlanKey
- Returns:
- the plan key of the linked plan to this deployment Project.
-