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
Constructors Constructor Description MutableDeploymentProjectImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
@NotNull DeploymentKey
getKey()
@NotNull String
getName()
@Nullable PlanKey
getPlanKey()
@Nullable VcsBambooSpecsSource
getVcsBambooSpecsSource()
void
setDescription(String description)
void
setKey(@NotNull DeploymentKey key)
Deliberately not on the interfacevoid
setName(String name)
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
-
-
-
-
Method Detail
-
getKey
@NotNull public @NotNull DeploymentKey getKey()
- Specified by:
getKey
in interfaceInternalDeploymentProject
-
setKey
public void setKey(@NotNull @NotNull DeploymentKey key)
Deliberately not on the interface
-
getName
@NotNull public @NotNull String 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
public void setName(String name)
- Specified by:
setName
in interfaceMutableDeploymentProject
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceDescriptionProvider
- Specified by:
getDescription
in interfaceInternalDeploymentProject
- Returns:
- Optional, longer description of the project
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceMutableDeploymentProject
-
getPlanKey
@Nullable public @Nullable PlanKey getPlanKey()
- Specified by:
getPlanKey
in interfaceInternalDeploymentProject
- Returns:
- the plan key of the linked plan to this deployment Project.
-
setPlanKey
public void setPlanKey(PlanKey planKey)
- Specified by:
setPlanKey
in interfaceMutableDeploymentProject
-
getVcsBambooSpecsSource
@Nullable public @Nullable VcsBambooSpecsSource getVcsBambooSpecsSource()
- Specified by:
getVcsBambooSpecsSource
in interfaceMutableDeploymentProject
-
setVcsBambooSpecsSource
public void setVcsBambooSpecsSource(VcsBambooSpecsSource vcsBambooSpecsSource)
- Specified by:
setVcsBambooSpecsSource
in interfaceMutableDeploymentProject
-
-