public class DeploymentVersionImpl extends Object implements DeploymentVersion
orderingByCreationDate
DEFAULT_BRANCH_NAME
ORDERING
Constructor and Description |
---|
DeploymentVersionImpl(DeploymentVersionDto version,
@Nullable DeploymentVersionStatus versionStatus,
List<DeploymentVersionItem> deploymentVersionItems,
Operations operations,
String creatorDisplayName,
@Nullable String creatorGravatarUrl) |
DeploymentVersionImpl(@NotNull DeploymentVersionImpl version,
Operations operations) |
DeploymentVersionImpl(MutableDeploymentVersion version,
@Nullable DeploymentVersionStatus versionStatus,
String creatorDisplayName,
@Nullable String creatorGravatarUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NotNull Date |
getAgeZeroPoint() |
Date |
getCreationDate() |
String |
getCreatorDisplayName() |
String |
getCreatorGravatarUrl() |
String |
getCreatorUserName() |
@Nullable Long |
getDeploymentProjectId() |
long |
getId() |
@NotNull List<DeploymentVersionItem> |
getItems() |
@NotNull String |
getName() |
@NotNull Operations |
getOperations() |
@NotNull String |
getPlanBranchName() |
@NotNull com.google.common.collect.ImmutableList<VariableSubstitutionContext> |
getVariableContext()
Internal use only.
|
@Nullable DeploymentVersionStatus |
getVersionStatus() |
int |
hashCode() |
public DeploymentVersionImpl(MutableDeploymentVersion version, @Nullable @Nullable DeploymentVersionStatus versionStatus, String creatorDisplayName, @Nullable @Nullable String creatorGravatarUrl)
public DeploymentVersionImpl(DeploymentVersionDto version, @Nullable @Nullable DeploymentVersionStatus versionStatus, List<DeploymentVersionItem> deploymentVersionItems, Operations operations, String creatorDisplayName, @Nullable @Nullable String creatorGravatarUrl)
public DeploymentVersionImpl(@NotNull @NotNull DeploymentVersionImpl version, Operations operations)
public long getId()
getId
in interface BambooIdProvider
getId
in interface InternalDeploymentVersion
@NotNull public @NotNull String getName()
getName
in interface InternalDeploymentVersion
getName
in interface NameProvider
@NotNull public @NotNull String getPlanBranchName()
getPlanBranchName
in interface InternalDeploymentVersion
public Date getCreationDate()
getCreationDate
in interface InternalDeploymentVersion
getCreationDate
in interface CreationDateProvider
public String getCreatorUserName()
getCreatorUserName
in interface InternalDeploymentVersion
public String getCreatorDisplayName()
getCreatorDisplayName
in interface DeploymentVersion
public String getCreatorGravatarUrl()
getCreatorGravatarUrl
in interface DeploymentVersion
@NotNull public @NotNull List<DeploymentVersionItem> getItems()
getItems
in interface DeploymentVersion
@Nullable public @Nullable DeploymentVersionStatus getVersionStatus()
getVersionStatus
in interface DeploymentVersion
@NotNull public @NotNull Date getAgeZeroPoint()
getAgeZeroPoint
in interface InternalDeploymentVersion
@NotNull public @NotNull com.google.common.collect.ImmutableList<VariableSubstitutionContext> getVariableContext()
DeploymentVersion
DeploymentVersionService.getDeploymentVersion(long)
Use DeploymentVersionService.getVariableContextForVersion(long)
instead.getVariableContext
in interface DeploymentVersion
@Nullable public @Nullable Long getDeploymentProjectId()
getDeploymentProjectId
in interface InternalDeploymentVersion
@NotNull public @NotNull Operations getOperations()
getOperations
in interface DeploymentVersion
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.