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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanKey
-
-
Constructor Summary
Constructors Constructor Description ArtifactDeploymentVersionItemImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Artifact
getArtifact()
long
getId()
@NotNull String
getName()
@NotNull PlanResultKey
getPlanResultKey()
@NotNull ProjectItemType
getType()
-
-
-
Constructor Detail
-
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 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
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
- Specified by:
getId
in interfaceInternalDeploymentVersionItem
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getName
in interfaceInternalDeploymentVersionItem
- Specified by:
getName
in interfaceNameProvider
-
getType
@NotNull public @NotNull ProjectItemType getType()
- Specified by:
getType
in interfaceInternalDeploymentVersionItem
- Returns:
- type of the DeploymentProjectItem
-
-