Class RestArtifactDeploymentVersionItem
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.deployments.versions.RestDeploymentVersionItem
-
- com.atlassian.bamboo.rest.model.deployments.versions.RestArtifactDeploymentVersionItem
-
- All Implemented Interfaces:
BambooIdProvider
,ArtifactDeploymentVersionItem
,DeploymentVersionItem
,InternalArtifactDeploymentVersionItem
,InternalDeploymentVersionItem
,PlanResultKeyProvider
,NameProvider
,Serializable
public class RestArtifactDeploymentVersionItem extends RestDeploymentVersionItem implements ArtifactDeploymentVersionItem
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanKey
-
-
Constructor Summary
Constructors Constructor Description RestArtifactDeploymentVersionItem(@NotNull ArtifactDeploymentVersionItem item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Artifact
getArtifact()
@NotNull PlanResultKey
getPlanResultKey()
@NotNull ProjectItemType
getType()
-
Methods inherited from class com.atlassian.bamboo.rest.model.deployments.versions.RestDeploymentVersionItem
getId, getName
-
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
-
-
-
-
Constructor Detail
-
RestArtifactDeploymentVersionItem
public RestArtifactDeploymentVersionItem(@NotNull @NotNull ArtifactDeploymentVersionItem item)
-
-
Method Detail
-
getPlanResultKey
@NotNull public @NotNull PlanResultKey getPlanResultKey()
- Specified by:
getPlanResultKey
in interfaceInternalArtifactDeploymentVersionItem
- Specified by:
getPlanResultKey
in interfacePlanResultKeyProvider
- Returns:
- PlanResultKey identifying BuildResult of the artifact
-
getArtifact
public Artifact getArtifact()
- Specified by:
getArtifact
in interfaceInternalArtifactDeploymentVersionItem
- Returns:
- build artifact this version item refers to
-
getType
@NotNull public @NotNull ProjectItemType getType()
- Specified by:
getType
in interfaceInternalDeploymentVersionItem
- Returns:
- type of the DeploymentProjectItem
-
-