com.atlassian.bamboo.deployments.versions.persistence.items
Interface MutableDeploymentVersionItem

All Superinterfaces:
BambooIdProvider, BambooObject, InternalDeploymentVersionItem, NameProvider
All Known Subinterfaces:
MutableArtifactDeploymentVersionItem
All Known Implementing Classes:
AbstractMutableDeploymentVersionItem, MutableArtifactDeploymentVersionItemImpl

public interface MutableDeploymentVersionItem
extends BambooObject, InternalDeploymentVersionItem

Mutable interface for DeploymentVersionItems No setters are exposed here as DeploymentVersionItems should be considered immutable after persisting.


Field Summary
static com.google.common.base.Function<MutableDeploymentVersionItem,DeploymentVersionItem> toImmutableDeploymentVersionItem
          Function converting MutableDeploymentVersionItem to DeploymentVersionItem.
 
Method Summary
 MutableDeploymentVersion getDeploymentVersion()
           
 DeploymentVersionItem getImmutableDeploymentVersionItem()
           
 void setDeploymentVersion(MutableDeploymentVersion deploymentVersion)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersionItem
getId, getName, getType
 

Field Detail

toImmutableDeploymentVersionItem

static final com.google.common.base.Function<MutableDeploymentVersionItem,DeploymentVersionItem> toImmutableDeploymentVersionItem
Function converting MutableDeploymentVersionItem to DeploymentVersionItem. This function will throw NullPointerException when applied to null element.

Method Detail

getImmutableDeploymentVersionItem

DeploymentVersionItem getImmutableDeploymentVersionItem()
Returns:
immutable version of MutableDeploymentVersionItem

getDeploymentVersion

MutableDeploymentVersion getDeploymentVersion()

setDeploymentVersion

void setDeploymentVersion(MutableDeploymentVersion deploymentVersion)


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