Interface MutableDeploymentVersionItem
- All Superinterfaces:
BambooIdProvider
,BambooObject
,InternalDeploymentVersionItem
,NameProvider
- All Known Subinterfaces:
MutableArtifactDeploymentVersionItem
- All Known Implementing Classes:
MutableArtifactDeploymentVersionItemImpl
Mutable interface for DeploymentVersionItems
No setters are exposed here as DeploymentVersionItems should be considered immutable after persisting.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<MutableDeploymentVersionItem,
DeploymentVersionItem> Function converting MutableDeploymentVersionItem to DeploymentVersionItem. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
toImmutableDeploymentVersionItem
static final Function<MutableDeploymentVersionItem,DeploymentVersionItem> toImmutableDeploymentVersionItemFunction converting MutableDeploymentVersionItem to DeploymentVersionItem. This function will throw NullPointerException when applied to null element.
-
-
Method Details
-
getImmutableDeploymentVersionItem
DeploymentVersionItem getImmutableDeploymentVersionItem()- Returns:
- immutable version of MutableDeploymentVersionItem
-
getDeploymentVersion
MutableDeploymentVersion getDeploymentVersion() -
setDeploymentVersion
-