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 StringgetDescription()@NotNull DeploymentKeygetKey()@NotNull StringgetName()@Nullable PlanKeygetPlanKey()@Nullable VcsBambooSpecsSourcegetVcsBambooSpecsSource()voidsetDescription(String description)voidsetKey(@NotNull DeploymentKey key)Deliberately not on the interfacevoidsetName(String name)voidsetPlanKey(PlanKey planKey)voidsetVcsBambooSpecsSource(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:
getKeyin interfaceInternalDeploymentProject
-
setKey
public void setKey(@NotNull @NotNull DeploymentKey key)Deliberately not on the interface
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getNamein interfaceDescriptionProvider- Specified by:
getNamein interfaceInternalDeploymentProject- Specified by:
getNamein interfaceNameProvider- Returns:
- User friendly shortish name for this deployment project. Must be unique with in Bamboo
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMutableDeploymentProject
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceDescriptionProvider- Specified by:
getDescriptionin interfaceInternalDeploymentProject- Returns:
- Optional, longer description of the project
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceMutableDeploymentProject
-
getPlanKey
@Nullable public @Nullable PlanKey getPlanKey()
- Specified by:
getPlanKeyin interfaceInternalDeploymentProject- Returns:
- the plan key of the linked plan to this deployment Project.
-
setPlanKey
public void setPlanKey(PlanKey planKey)
- Specified by:
setPlanKeyin interfaceMutableDeploymentProject
-
getVcsBambooSpecsSource
@Nullable public @Nullable VcsBambooSpecsSource getVcsBambooSpecsSource()
- Specified by:
getVcsBambooSpecsSourcein interfaceMutableDeploymentProject
-
setVcsBambooSpecsSource
public void setVcsBambooSpecsSource(VcsBambooSpecsSource vcsBambooSpecsSource)
- Specified by:
setVcsBambooSpecsSourcein interfaceMutableDeploymentProject
-
-