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
-
Fields inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanKey
-
-
Constructor Summary
Constructors Constructor Description MutableArtifactDeploymentVersionItemImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableArtifact
getArtifact()
MutableDeploymentVersion
getDeploymentVersion()
ArtifactDeploymentVersionItem
getImmutableDeploymentVersionItem()
String
getName()
@NotNull PlanResultKey
getPlanResultKey()
@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
-
-
-
-
Method Detail
-
getImmutableDeploymentVersionItem
public ArtifactDeploymentVersionItem getImmutableDeploymentVersionItem()
- Specified by:
getImmutableDeploymentVersionItem
in interfaceMutableDeploymentVersionItem
- Returns:
- immutable version of MutableDeploymentVersionItem
-
getPlanResultKey
@NotNull public @NotNull PlanResultKey getPlanResultKey()
- Specified by:
getPlanResultKey
in interfaceInternalArtifactDeploymentVersionItem
- Specified by:
getPlanResultKey
in interfacePlanResultKeyProvider
- Returns:
- PlanResultKey identifying BuildResult of the artifact
-
setPlanResultKey
public void setPlanResultKey(PlanResultKey planResultKey)
-
getArtifact
public MutableArtifact getArtifact()
- Specified by:
getArtifact
in interfaceInternalArtifactDeploymentVersionItem
- Returns:
- build artifact this version item refers to
-
setArtifact
public void setArtifact(MutableArtifact artifact)
-
getType
@NotNull public @NotNull ProjectItemType getType()
- Specified by:
getType
in interfaceInternalDeploymentVersionItem
- Returns:
- type of the DeploymentProjectItem
-
getName
public String getName()
- Specified by:
getName
in interfaceInternalDeploymentVersionItem
- Specified by:
getName
in interfaceNameProvider
-
getDeploymentVersion
public MutableDeploymentVersion getDeploymentVersion()
- Specified by:
getDeploymentVersion
in interfaceMutableDeploymentVersionItem
-
setDeploymentVersion
public void setDeploymentVersion(MutableDeploymentVersion deploymentVersion)
- Specified by:
setDeploymentVersion
in interfaceMutableDeploymentVersionItem
-
-