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 DategetAgeZeroPoint()@Nullable StringgetCreatorUserName()@Nullable MutableDeploymentProjectgetDeploymentProject()@Nullable LonggetDeploymentProjectId()@NotNull List<MutableDeploymentVersionItem>getItems()@NotNull StringgetName()@NotNull StringgetPlanBranchName()@Nullable VariableContextBaselinegetVariableContextBaseline()voidsetAgeZeroPoint(@NotNull Date ageZeroPoint)voidsetCreatorUserName(@Nullable String creatorUserName)voidsetDeploymentProject(MutableDeploymentProject deploymentProject)voidsetItems(@NotNull List<MutableDeploymentVersionItem> items)voidsetName(String name)Set name of MutableDeploymentVersionvoidsetPlanBranchName(@NotNull String planBranchName)voidsetRelatedPlanResultKeys(@NotNull Set<PlanResultKey> relatedPlanResultKeys)voidsetVariableContextBaseline(@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:MutableDeploymentVersionSet name of MutableDeploymentVersion- Specified by:
setNamein interfaceMutableDeploymentVersion
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getNamein interfaceInternalDeploymentVersion- Specified by:
getNamein interfaceNameProvider
-
getDeploymentProject
@Nullable public @Nullable MutableDeploymentProject getDeploymentProject()
- Specified by:
getDeploymentProjectin interfaceMutableDeploymentVersion
-
setDeploymentProject
public void setDeploymentProject(MutableDeploymentProject deploymentProject)
-
getItems
@NotNull public @NotNull List<MutableDeploymentVersionItem> getItems()
- Specified by:
getItemsin 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:
getCreatorUserNamein 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:
getVariableContextBaselinein interfaceMutableDeploymentVersion
-
setVariableContextBaseline
public void setVariableContextBaseline(@Nullable @Nullable VariableContextBaseline variableContextBaseline)- Specified by:
setVariableContextBaselinein interfaceMutableDeploymentVersion
-
getPlanBranchName
@NotNull public @NotNull String getPlanBranchName()
- Specified by:
getPlanBranchNamein interfaceInternalDeploymentVersion
-
setPlanBranchName
public void setPlanBranchName(@NotNull @NotNull String planBranchName)- Specified by:
setPlanBranchNamein interfaceMutableDeploymentVersion
-
getAgeZeroPoint
@NotNull public @NotNull Date getAgeZeroPoint()
- Specified by:
getAgeZeroPointin interfaceInternalDeploymentVersion- Returns:
- Zero time point for calculation of the version's age.
-
setAgeZeroPoint
public void setAgeZeroPoint(@NotNull @NotNull Date ageZeroPoint)- Specified by:
setAgeZeroPointin interfaceMutableDeploymentVersion
-
getDeploymentProjectId
@Nullable public @Nullable Long getDeploymentProjectId()
- Specified by:
getDeploymentProjectIdin interfaceInternalDeploymentVersion
-
-