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
-
Method Summary
Modifier and TypeMethodDescription@NotNull Date
@Nullable String
@Nullable MutableDeploymentProject
@Nullable Long
@NotNull List<MutableDeploymentVersionItem>
getItems()
@NotNull String
getName()
@NotNull String
@Nullable VariableContextBaseline
void
setAgeZeroPoint
(@NotNull Date ageZeroPoint) void
setCreatorUserName
(@Nullable String creatorUserName) void
setDeploymentProject
(MutableDeploymentProject deploymentProject) void
setItems
(@NotNull List<MutableDeploymentVersionItem> items) void
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
-
Constructor Details
-
MutableDeploymentVersionImpl
public MutableDeploymentVersionImpl()
-
-
Method Details
-
setName
Description copied from interface:MutableDeploymentVersion
Set name of MutableDeploymentVersion- Specified by:
setName
in interfaceMutableDeploymentVersion
-
getName
- Specified by:
getName
in interfaceInternalDeploymentVersion
- Specified by:
getName
in interfaceNameProvider
-
getDeploymentProject
- Specified by:
getDeploymentProject
in interfaceMutableDeploymentVersion
-
setDeploymentProject
-
getItems
- Specified by:
getItems
in interfaceMutableDeploymentVersion
- Returns:
- list of DeploymentVersionItem associated with DeploymentVersion
-
setItems
-
setRelatedPlanResultKeys
-
getCreatorUserName
- Specified by:
getCreatorUserName
in interfaceInternalDeploymentVersion
- Returns:
- the username of the person who created this version
-
setCreatorUserName
-
getVariableContextBaseline
- Specified by:
getVariableContextBaseline
in interfaceMutableDeploymentVersion
-
setVariableContextBaseline
public void setVariableContextBaseline(@Nullable @Nullable VariableContextBaseline variableContextBaseline) - Specified by:
setVariableContextBaseline
in interfaceMutableDeploymentVersion
-
getPlanBranchName
- Specified by:
getPlanBranchName
in interfaceInternalDeploymentVersion
-
setPlanBranchName
- Specified by:
setPlanBranchName
in interfaceMutableDeploymentVersion
-
getAgeZeroPoint
- Specified by:
getAgeZeroPoint
in interfaceInternalDeploymentVersion
- Returns:
- Zero time point for calculation of the version's age.
-
setAgeZeroPoint
- Specified by:
setAgeZeroPoint
in interfaceMutableDeploymentVersion
-
getDeploymentProjectId
- Specified by:
getDeploymentProjectId
in interfaceInternalDeploymentVersion
-