com.atlassian.bamboo.deployments.versions
Class ArtifactDeploymentVersionItemImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.versions.AbstractDeploymentVersionItem
      extended by com.atlassian.bamboo.deployments.versions.ArtifactDeploymentVersionItemImpl
All Implemented Interfaces:
BambooIdProvider, ArtifactDeploymentVersionItem, DeploymentVersionItem, InternalArtifactDeploymentVersionItem, InternalDeploymentVersionItem, NameProvider, java.io.Serializable

public class ArtifactDeploymentVersionItemImpl
extends AbstractDeploymentVersionItem
implements ArtifactDeploymentVersionItem

See Also:
Serialized Form

Constructor Summary
ArtifactDeploymentVersionItemImpl(MutableArtifactDeploymentVersionItemImpl versionItem)
           
 
Method Summary
 Artifact getArtifact()
           
 java.lang.String getCopyPattern()
           
 java.lang.String getLabel()
           
 java.lang.String getLocation()
           
 PlanResultKey getPlanResultKey()
           
 long getSize()
           
 
Methods inherited from class com.atlassian.bamboo.deployments.versions.AbstractDeploymentVersionItem
getId, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersionItem
getId, getName, getType
 

Constructor Detail

ArtifactDeploymentVersionItemImpl

public ArtifactDeploymentVersionItemImpl(@NotNull
                                         MutableArtifactDeploymentVersionItemImpl versionItem)
Method Detail

getPlanResultKey

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

getLabel

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

getLocation

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

getCopyPattern

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

getSize

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

getArtifact

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


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