Class MutableDeploymentVersionImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.deployments.versions.persistence.MutableDeploymentVersionImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,InternalDeploymentVersion
,MutableDeploymentVersion
,CreationDateProvider
,NameProvider
,Cloneable
@Entity public class MutableDeploymentVersionImpl extends BambooEntityObject implements MutableDeploymentVersion
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Fields inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
DEFAULT_BRANCH_NAME
-
-
Constructor Summary
Constructors Constructor Description MutableDeploymentVersionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Date
getAgeZeroPoint()
@Nullable String
getCreatorUserName()
@Nullable MutableDeploymentProject
getDeploymentProject()
@Nullable Long
getDeploymentProjectId()
@NotNull List<MutableDeploymentVersionItem>
getItems()
@NotNull String
getName()
@NotNull String
getPlanBranchName()
@Nullable VariableContextBaseline
getVariableContextBaseline()
void
setAgeZeroPoint(@NotNull Date ageZeroPoint)
void
setCreatorUserName(@Nullable String creatorUserName)
void
setDeploymentProject(MutableDeploymentProject deploymentProject)
void
setItems(@NotNull List<MutableDeploymentVersionItem> items)
void
setName(String name)
Set name of MutableDeploymentVersionvoid
setPlanBranchName(@NotNull String planBranchName)
void
setRelatedPlanResultKeys(@NotNull Set<PlanResultKey> relatedPlanResultKeys)
void
setVariableContextBaseline(@Nullable VariableContextBaseline variableContextBaseline)
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, 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.deployments.versions.InternalDeploymentVersion
getCreationDate, getId
-
-
-
-
Method Detail
-
setName
public void setName(String name)
Description copied from interface:MutableDeploymentVersion
Set name of MutableDeploymentVersion- Specified by:
setName
in interfaceMutableDeploymentVersion
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getName
in interfaceInternalDeploymentVersion
- Specified by:
getName
in interfaceNameProvider
-
getDeploymentProject
@Nullable public @Nullable MutableDeploymentProject getDeploymentProject()
- Specified by:
getDeploymentProject
in interfaceMutableDeploymentVersion
-
setDeploymentProject
public void setDeploymentProject(MutableDeploymentProject deploymentProject)
-
getItems
@NotNull public @NotNull List<MutableDeploymentVersionItem> getItems()
- Specified by:
getItems
in interfaceMutableDeploymentVersion
- Returns:
- list of DeploymentVersionItem associated with DeploymentVersion
-
setItems
public void setItems(@NotNull @NotNull List<MutableDeploymentVersionItem> items)
-
setRelatedPlanResultKeys
public void setRelatedPlanResultKeys(@NotNull @NotNull Set<PlanResultKey> relatedPlanResultKeys)
-
getCreatorUserName
@Nullable public @Nullable String getCreatorUserName()
- Specified by:
getCreatorUserName
in interfaceInternalDeploymentVersion
- Returns:
- the username of the person who created this version
-
setCreatorUserName
public void setCreatorUserName(@Nullable @Nullable String creatorUserName)
-
getVariableContextBaseline
@Nullable public @Nullable VariableContextBaseline getVariableContextBaseline()
- Specified by:
getVariableContextBaseline
in interfaceMutableDeploymentVersion
-
setVariableContextBaseline
public void setVariableContextBaseline(@Nullable @Nullable VariableContextBaseline variableContextBaseline)
- Specified by:
setVariableContextBaseline
in interfaceMutableDeploymentVersion
-
getPlanBranchName
@NotNull public @NotNull String getPlanBranchName()
- Specified by:
getPlanBranchName
in interfaceInternalDeploymentVersion
-
setPlanBranchName
public void setPlanBranchName(@NotNull @NotNull String planBranchName)
- Specified by:
setPlanBranchName
in interfaceMutableDeploymentVersion
-
getAgeZeroPoint
@NotNull public @NotNull Date getAgeZeroPoint()
- Specified by:
getAgeZeroPoint
in interfaceInternalDeploymentVersion
- Returns:
- Zero time point for calculation of the version's age.
-
setAgeZeroPoint
public void setAgeZeroPoint(@NotNull @NotNull Date ageZeroPoint)
- Specified by:
setAgeZeroPoint
in interfaceMutableDeploymentVersion
-
getDeploymentProjectId
@Nullable public @Nullable Long getDeploymentProjectId()
- Specified by:
getDeploymentProjectId
in interfaceInternalDeploymentVersion
-
-