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 ArtifactgetArtifact()longgetId()@NotNull StringgetName()@NotNull PlanResultKeygetPlanResultKey()@NotNull ProjectItemTypegetType()
-
-
-
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:
getPlanResultKeyin interfaceInternalArtifactDeploymentVersionItem- Specified by:
getPlanResultKeyin interfacePlanResultKeyProvider- Returns:
- PlanResultKey identifying BuildResult of the artifact
-
getArtifact
public Artifact getArtifact()
- Specified by:
getArtifactin interfaceInternalArtifactDeploymentVersionItem- Returns:
- build artifact this version item refers to
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider- Specified by:
getIdin interfaceInternalDeploymentVersionItem
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getNamein interfaceInternalDeploymentVersionItem- Specified by:
getNamein interfaceNameProvider
-
getType
@NotNull public @NotNull ProjectItemType getType()
- Specified by:
getTypein interfaceInternalDeploymentVersionItem- Returns:
- type of the DeploymentProjectItem
-
-