com.atlassian.bamboo.deployments.versions.persistence.items
Class MutableArtifactDeploymentVersionItemImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.deployments.versions.persistence.items.AbstractMutableDeploymentVersionItem
              extended by com.atlassian.bamboo.deployments.versions.persistence.items.MutableArtifactDeploymentVersionItemImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, InternalArtifactDeploymentVersionItem, InternalDeploymentVersionItem, MutableArtifactDeploymentVersionItem, MutableDeploymentVersionItem, NameProvider, java.lang.Cloneable

public class MutableArtifactDeploymentVersionItemImpl
extends AbstractMutableDeploymentVersionItem
implements MutableArtifactDeploymentVersionItem


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.deployments.versions.persistence.items.MutableDeploymentVersionItem
toImmutableDeploymentVersionItem
 
Constructor Summary
MutableArtifactDeploymentVersionItemImpl()
           
 
Method Summary
 Artifact getArtifact()
           
 java.lang.String getCopyPattern()
           
 ArtifactDeploymentVersionItem getImmutableDeploymentVersionItem()
           
 java.lang.String getLabel()
           
 java.lang.String getLocation()
           
 PlanResultKey getPlanResultKey()
           
 long getSize()
           
 ProjectItemType getType()
           
 void setArtifact(Artifact artifact)
           
 void setCopyPattern(java.lang.String copyPattern)
           
 void setLabel(java.lang.String label)
           
 void setLocation(java.lang.String location)
           
 void setPlanResultKey(PlanResultKey planResultKey)
           
 void setSize(long size)
           
 
Methods inherited from class com.atlassian.bamboo.deployments.versions.persistence.items.AbstractMutableDeploymentVersionItem
getDeploymentVersion, getName, setDeploymentVersion, setName
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, 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.deployments.versions.persistence.items.MutableDeploymentVersionItem
getDeploymentVersion, setDeploymentVersion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersionItem
getId, getName
 

Constructor Detail

MutableArtifactDeploymentVersionItemImpl

public MutableArtifactDeploymentVersionItemImpl()
Method Detail

getImmutableDeploymentVersionItem

public ArtifactDeploymentVersionItem getImmutableDeploymentVersionItem()
Specified by:
getImmutableDeploymentVersionItem in interface MutableDeploymentVersionItem
Returns:
immutable version of MutableDeploymentVersionItem

getPlanResultKey

@NotNull
public PlanResultKey getPlanResultKey()
Specified by:
getPlanResultKey in interface InternalArtifactDeploymentVersionItem
Returns:
PlanResultKey identifying BuildResult of the artifact

setPlanResultKey

public void setPlanResultKey(PlanResultKey planResultKey)

getLabel

@NotNull
public java.lang.String getLabel()
Specified by:
getLabel in interface InternalArtifactDeploymentVersionItem
Returns:
Artifact label as defined in the Artifacts of BuildResult

setLabel

public void setLabel(@NotNull
                     java.lang.String label)

getLocation

public java.lang.String getLocation()
Specified by:
getLocation in interface InternalArtifactDeploymentVersionItem
Returns:
Artifact location as defined in the Artifacts of BuildResult

setLocation

public void setLocation(java.lang.String location)

getCopyPattern

public java.lang.String getCopyPattern()
Specified by:
getCopyPattern in interface InternalArtifactDeploymentVersionItem
Returns:
Artifact copy pattern as defined in the Artifacts of BuildResult

setCopyPattern

public void setCopyPattern(java.lang.String copyPattern)

getSize

public long getSize()
Specified by:
getSize in interface InternalArtifactDeploymentVersionItem
Returns:
Artifact size as defined in the Artifacts of BuildResult

setSize

public void setSize(long size)

getArtifact

public Artifact getArtifact()
Specified by:
getArtifact in interface InternalArtifactDeploymentVersionItem
Returns:
build artifact this version item refers to

setArtifact

public void setArtifact(Artifact artifact)

getType

@NotNull
public ProjectItemType getType()
Specified by:
getType in interface InternalDeploymentVersionItem
Returns:
type of the DeploymentProjectItem


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.