Class ArtifactDeploymentVersionItemImpl
java.lang.Object
com.atlassian.bamboo.deployments.versions.ArtifactDeploymentVersionItemImpl
- All Implemented Interfaces:
BambooIdProvider
,ArtifactDeploymentVersionItem
,DeploymentVersionItem
,InternalArtifactDeploymentVersionItem
,InternalDeploymentVersionItem
,PlanResultKeyProvider
,NameProvider
,Serializable
public class ArtifactDeploymentVersionItemImpl
extends Object
implements ArtifactDeploymentVersionItem
- See Also:
-
Constructor Summary
ConstructorDescriptionArtifactDeploymentVersionItemImpl
(long id, @NotNull PlanResultKey planResultKey, @NotNull Artifact artifact) ArtifactDeploymentVersionItemImpl
(long id, @Nullable String name, @Nullable ProjectItemType type, @NotNull PlanResultKey planResultKey, @NotNull Artifact artifact) Deprecated.since 9.5, name and type parameters are not usedArtifactDeploymentVersionItemImpl
(@NotNull MutableArtifactDeploymentVersionItemImpl versionItem) -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
@NotNull String
getName()
@NotNull PlanResultKey
@NotNull ProjectItemType
getType()
-
Constructor Details
-
ArtifactDeploymentVersionItemImpl
public ArtifactDeploymentVersionItemImpl(@NotNull @NotNull MutableArtifactDeploymentVersionItemImpl versionItem) -
ArtifactDeploymentVersionItemImpl
@Deprecated public ArtifactDeploymentVersionItemImpl(long id, @Nullable @Nullable String name, @Nullable @Nullable ProjectItemType type, @NotNull @NotNull PlanResultKey planResultKey, @NotNull @NotNull Artifact artifact) Deprecated.since 9.5, name and type parameters are not used -
ArtifactDeploymentVersionItemImpl
public ArtifactDeploymentVersionItemImpl(long id, @NotNull @NotNull PlanResultKey planResultKey, @NotNull @NotNull Artifact artifact)
-
-
Method Details
-
getPlanResultKey
- Specified by:
getPlanResultKey
in interfaceInternalArtifactDeploymentVersionItem
- Specified by:
getPlanResultKey
in interfacePlanResultKeyProvider
- Returns:
- PlanResultKey identifying BuildResult of the artifact
-
getArtifact
- Specified by:
getArtifact
in interfaceInternalArtifactDeploymentVersionItem
- Returns:
- build artifact this version item refers to
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
- Specified by:
getId
in interfaceInternalDeploymentVersionItem
-
getName
- Specified by:
getName
in interfaceInternalDeploymentVersionItem
- Specified by:
getName
in interfaceNameProvider
-
getType
- Specified by:
getType
in interfaceInternalDeploymentVersionItem
- Returns:
- type of the DeploymentProjectItem
-