Class MutableArtifactDeploymentVersionItemImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
com.atlassian.bamboo.deployments.versions.persistence.items.MutableArtifactDeploymentVersionItemImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,InternalArtifactDeploymentVersionItem
,InternalDeploymentVersionItem
,MutableArtifactDeploymentVersionItem
,MutableDeploymentVersionItem
,PlanResultKeyProvider
,NameProvider
,Cloneable
@Entity
public class MutableArtifactDeploymentVersionItemImpl
extends HibernateBambooEntityObject
implements MutableArtifactDeploymentVersionItem
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.deployments.versions.persistence.items.MutableDeploymentVersionItem
toImmutableDeploymentVersionItem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
@NotNull PlanResultKey
@NotNull ProjectItemType
getType()
void
setArtifact
(MutableArtifact artifact) void
setDeploymentVersion
(MutableDeploymentVersion deploymentVersion) void
setPlanResultKey
(PlanResultKey planResultKey) Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
getId, setId
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.deployments.versions.InternalDeploymentVersionItem
getId
-
Constructor Details
-
MutableArtifactDeploymentVersionItemImpl
public MutableArtifactDeploymentVersionItemImpl()
-
-
Method Details
-
getImmutableDeploymentVersionItem
- Specified by:
getImmutableDeploymentVersionItem
in interfaceMutableDeploymentVersionItem
- Returns:
- immutable version of MutableDeploymentVersionItem
-
getPlanResultKey
- Specified by:
getPlanResultKey
in interfaceInternalArtifactDeploymentVersionItem
- Specified by:
getPlanResultKey
in interfacePlanResultKeyProvider
- Returns:
- PlanResultKey identifying BuildResult of the artifact
-
setPlanResultKey
-
getArtifact
- Specified by:
getArtifact
in interfaceInternalArtifactDeploymentVersionItem
- Returns:
- build artifact this version item refers to
-
setArtifact
-
getType
- Specified by:
getType
in interfaceInternalDeploymentVersionItem
- Returns:
- type of the DeploymentProjectItem
-
getName
- Specified by:
getName
in interfaceInternalDeploymentVersionItem
- Specified by:
getName
in interfaceNameProvider
-
getDeploymentVersion
- Specified by:
getDeploymentVersion
in interfaceMutableDeploymentVersionItem
-
setDeploymentVersion
- Specified by:
setDeploymentVersion
in interfaceMutableDeploymentVersionItem
-