Class MutableDeploymentProjectImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.core.BambooEntityWithOid
com.atlassian.bamboo.hibernate.HibernateBambooEntityWithOid
com.atlassian.bamboo.deployments.projects.persistence.MutableDeploymentProjectImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,EntityWithOid
,ImmutableEntityWithOid
,InternalDeploymentProject
,MutableDeploymentProject
,DescriptionProvider
,NameProvider
,Cloneable
@Entity
public class MutableDeploymentProjectImpl
extends HibernateBambooEntityWithOid
implements MutableDeploymentProject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull DeploymentKey
getKey()
@NotNull String
getName()
@Nullable PlanKey
@Nullable VcsBambooSpecsSource
void
setDescription
(String description) void
setKey
(@NotNull DeploymentKey key) Deliberately not on the interfacevoid
void
setPlanKey
(PlanKey planKey) void
setVcsBambooSpecsSource
(VcsBambooSpecsSource vcsBambooSpecsSource) Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityWithOid
getId, getOid, setId, setOid
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOid
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
Methods inherited from interface com.atlassian.bamboo.deployments.projects.InternalDeploymentProject
getEntityType, getId
-
Constructor Details
-
MutableDeploymentProjectImpl
public MutableDeploymentProjectImpl()
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceInternalDeploymentProject
-
setKey
Deliberately not on the interface -
getName
- Specified by:
getName
in interfaceDescriptionProvider
- Specified by:
getName
in interfaceInternalDeploymentProject
- Specified by:
getName
in interfaceNameProvider
- Returns:
- User friendly shortish name for this deployment project. Must be unique with in Bamboo
-
setName
- Specified by:
setName
in interfaceMutableDeploymentProject
-
getDescription
- Specified by:
getDescription
in interfaceDescriptionProvider
- Specified by:
getDescription
in interfaceInternalDeploymentProject
- Returns:
- Optional, longer description of the project
-
setDescription
- Specified by:
setDescription
in interfaceMutableDeploymentProject
-
getPlanKey
- Specified by:
getPlanKey
in interfaceInternalDeploymentProject
- Returns:
- the plan key of the linked plan to this deployment Project.
-
setPlanKey
- Specified by:
setPlanKey
in interfaceMutableDeploymentProject
-
getVcsBambooSpecsSource
- Specified by:
getVcsBambooSpecsSource
in interfaceMutableDeploymentProject
-
setVcsBambooSpecsSource
- Specified by:
setVcsBambooSpecsSource
in interfaceMutableDeploymentProject
-