Interface DeploymentVersion
- All Superinterfaces:
BambooIdProvider,CreationDateProvider,InternalDeploymentVersion,NameProvider,Serializable
- All Known Implementing Classes:
DeploymentVersionImpl,RestDeploymentVersion
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.collect.Ordering<CreationDateProvider>Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERINGFields inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
DEFAULT_BRANCH_NAME -
Method Summary
Modifier and TypeMethodDescription@Nullable String@NotNull List<? extends DeploymentVersionItem>getItems()@NotNull Operations@NotNull com.google.common.collect.ImmutableList<VariableSubstitutionContext>Internal use only.@Nullable DeploymentVersionStatusDeprecated.@NotNull List<? extends DeploymentVersionStatus>Returns all users' latest version statuses.Methods inherited from interface com.atlassian.bamboo.deployments.versions.InternalDeploymentVersion
getAgeZeroPoint, getCreationDate, getCreatorUserName, getDeploymentProjectId, getId, getName, getPlanBranchName
-
Field Details
-
orderingByCreationDate
-
-
Method Details
-
getItems
- Returns:
- items of DeploymentVersion
-
getVersionStatus
Deprecated.since 9.4 usegetVersionStatuses()instead- Returns:
- last version status if exists, null otherwise.
-
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
-
getOperations
-
getVersionStatuses()instead