Interface DeploymentVersion
-
- All Superinterfaces:
BambooIdProvider
,CreationDateProvider
,InternalDeploymentVersion
,NameProvider
,Serializable
- All Known Implementing Classes:
DeploymentVersionImpl
,RestDeploymentVersion
public interface DeploymentVersion extends InternalDeploymentVersion, Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.Ordering<CreationDateProvider>
orderingByCreationDate
-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Fields inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
DEFAULT_BRANCH_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @Nullable String
getCreatorDisplayName()
@NotNull List<? extends DeploymentVersionItem>
getItems()
@NotNull Operations
getOperations()
@NotNull com.google.common.collect.ImmutableList<VariableSubstitutionContext>
getVariableContext()
Internal use only.@Nullable DeploymentVersionStatus
getVersionStatus()
Deprecated.since 9.4 usegetVersionStatuses()
instead@NotNull List<? extends DeploymentVersionStatus>
getVersionStatuses()
Returns all users' latest version statuses.-
Methods inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
getAgeZeroPoint, getCreationDate, getCreatorUserName, getDeploymentProjectId, getId, getName, getPlanBranchName
-
-
-
-
Field Detail
-
orderingByCreationDate
static final com.google.common.collect.Ordering<CreationDateProvider> orderingByCreationDate
-
-
Method Detail
-
getItems
@NotNull @NotNull List<? extends DeploymentVersionItem> getItems()
- Returns:
- items of DeploymentVersion
-
getVersionStatus
@Deprecated @Nullable @Nullable DeploymentVersionStatus getVersionStatus()
Deprecated.since 9.4 usegetVersionStatuses()
instead- Returns:
- last version status if exists, null otherwise.
-
getVersionStatuses
@NotNull @NotNull List<? extends DeploymentVersionStatus> getVersionStatuses()
Returns all users' latest version statuses.- Since:
- 9.4
-
getVariableContext
@Internal @NotNull @NotNull com.google.common.collect.ImmutableList<VariableSubstitutionContext> getVariableContext()
Internal use only. This method will not return actual result when fetching deployment versions in bulk. It is safe to use this only when fetching version withDeploymentVersionService.getDeploymentVersion(long)
UseDeploymentVersionService.getVariableContextForVersion(long)
instead.
-
getCreatorDisplayName
@Nullable @Nullable String getCreatorDisplayName()
-
getOperations
@NotNull @NotNull Operations getOperations()
-
-