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
ORDERINGFields inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
DEFAULT_BRANCH_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Date@Nullable String@Nullable MutableDeploymentProject@Nullable Long@NotNull List<MutableDeploymentVersionItem>getItems()@NotNull StringgetName()@NotNull String@Nullable VariableContextBaselinevoidsetAgeZeroPoint(@NotNull Date ageZeroPoint) voidsetCreatorUserName(@Nullable String creatorUserName) voidsetDeploymentProject(MutableDeploymentProject deploymentProject) voidsetItems(@NotNull List<MutableDeploymentVersionItem> items) voidSet 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, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
getCreationDate, getId
-
Constructor Details
-
MutableDeploymentVersionImpl
public MutableDeploymentVersionImpl()
-
-
Method Details
-
setName
Description copied from interface:MutableDeploymentVersionSet name of MutableDeploymentVersion- Specified by:
setNamein interfaceMutableDeploymentVersion
-
getName
- Specified by:
getNamein interfaceInternalDeploymentVersion- Specified by:
getNamein interfaceNameProvider
-
getDeploymentProject
- Specified by:
getDeploymentProjectin interfaceMutableDeploymentVersion
-
setDeploymentProject
-
getItems
- Specified by:
getItemsin interfaceMutableDeploymentVersion- Returns:
- list of DeploymentVersionItem associated with DeploymentVersion
-
setItems
-
setRelatedPlanResultKeys
-
getCreatorUserName
- Specified by:
getCreatorUserNamein interfaceInternalDeploymentVersion- Returns:
- the username of the person who created this version
-
setCreatorUserName
-
getVariableContextBaseline
- Specified by:
getVariableContextBaselinein interfaceMutableDeploymentVersion
-
setVariableContextBaseline
public void setVariableContextBaseline(@Nullable @Nullable VariableContextBaseline variableContextBaseline) - Specified by:
setVariableContextBaselinein interfaceMutableDeploymentVersion
-
getPlanBranchName
- Specified by:
getPlanBranchNamein interfaceInternalDeploymentVersion
-
setPlanBranchName
- Specified by:
setPlanBranchNamein interfaceMutableDeploymentVersion
-
getAgeZeroPoint
- Specified by:
getAgeZeroPointin interfaceInternalDeploymentVersion- Returns:
- Zero time point for calculation of the version's age.
-
setAgeZeroPoint
- Specified by:
setAgeZeroPointin interfaceMutableDeploymentVersion
-
getDeploymentProjectId
- Specified by:
getDeploymentProjectIdin interfaceInternalDeploymentVersion
-