Interface MutableDeploymentVersionItem
-
- All Superinterfaces:
BambooIdProvider
,BambooObject
,InternalDeploymentVersionItem
,NameProvider
- All Known Subinterfaces:
MutableArtifactDeploymentVersionItem
- All Known Implementing Classes:
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
Fields Modifier and Type Field Description static com.google.common.base.Function<MutableDeploymentVersionItem,DeploymentVersionItem>
toImmutableDeploymentVersionItem
Function converting MutableDeploymentVersionItem to DeploymentVersionItem.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
-
-