| Modifier and Type | Method and Description |
|---|---|
@NotNull DeploymentVersion |
DeploymentContext.getDeploymentVersion() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentContext |
DeploymentExecutionService.prepareDeploymentContext(@NotNull Environment environment,
@NotNull DeploymentVersion deploymentVersion,
@NotNull TriggerReason triggerReason)
Prepare DeploymentContext out of Environment and DeploymentVersion
|
DeploymentContext |
DeploymentExecutionService.prepareDeploymentContext(@NotNull Environment environment,
@NotNull DeploymentVersion deploymentVersion,
@NotNull TriggerReason triggerReason,
@NotNull boolean isVerboseLoggingOn)
Prepare DeploymentContext out of Environment and DeploymentVersion
|
| Modifier and Type | Method and Description |
|---|---|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createManualEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull DeploymentVersion version,
@NotNull com.atlassian.user.User user,
@NotNull boolean isVerboseLoggingOn)
Creates
EnvironmentTriggeringAction used during manual execution of Environment. |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DeploymentVersion |
DeploymentProjectStatusForResultSummary.getFutureVersion()
If there is no related version, this property contains the first version,
which is associated with the build results of the same Plan.
|
@Nullable DeploymentVersion |
DeploymentProjectStatusForResultSummary.getRelatedVersion()
Version associated with the
ResultsSummary |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Function<DeploymentResult,DeploymentVersion> |
DeploymentProjectFunctions.getDeploymentResultVersion()
Deprecated.
since 5.10, use method reference to
DeploymentResult.getDeploymentVersion() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DeploymentVersion |
DeploymentResult.getDeploymentVersion() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DeploymentVersion |
DeploymentResultService.getRollbackVersion(@NotNull DeploymentResult deploymentResult)
For a given deployment result find the version that existed on the environment before that deployment.
|
@Nullable DeploymentVersion |
DeploymentResultService.getRollbackVersion(long environmentId)
For a given environment find the version that existed on the environment prior to the last deployment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentsInProgressService.onDeploymentTriggered(@NotNull DeploymentResult deploymentResult,
@NotNull DeploymentVersion deploymentVersion,
@NotNull Environment environment,
@NotNull DeploymentProject deploymentProject) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull DeploymentVersion |
DeploymentVersionService.createDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey)
Deprecated.
|
@NotNull DeploymentVersion |
DeploymentVersionService.createDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey,
@Nullable com.atlassian.user.User user,
@Nullable String versionName,
@Nullable String nextVersionName)
Create a deployment version with a specific name.
|
DeploymentVersion |
DeploymentVersionService.findNextVersionContainingResult(long deploymentProjectId,
@NotNull PlanResultKey planResultKey)
Find the first version that is created from a result which is later than current result (not taking custom revision into account)
|
@Nullable DeploymentVersion |
DeploymentVersionService.findPreviousVersion(long deploymentProjectId,
long versionId) |
@Nullable DeploymentVersion |
DeploymentVersionService.getDeploymentVersion(long deploymentVersionId)
Get DeploymentVersion by id
|
@Nullable DeploymentVersion |
DeploymentVersionService.getDeploymentVersionByName(@NotNull String existingVersion,
long deploymentProjectId)
Get a specific version by name
|
@Nullable DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId)
Deprecated.
|
@Nullable DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey)
Find the latest version for a deployment project.
|
@NotNull DeploymentVersion |
DeploymentVersionService.getOrCreateDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey)
Given a build result, find a deployment version that matches it, or create it if it doesn't exist.
|
@Nullable DeploymentVersion |
DeploymentVersionService.getRelatedVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey)
Find latest version of a deployment project that is related to specific plan result.
|
@NotNull DeploymentVersion |
DeploymentVersionService.renameVersion(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@NotNull String newVersionName)
Rename a version.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.compareVersionsByChangesets(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2,
int maxCommits)
Find all
DeploymentVersionVcsChangeset that happened after creation of older version until (and including) the creation of newer version. |
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.compareVersionsByChangesets(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2,
int maxCommits)
Find all
DeploymentVersionVcsChangeset that happened after creation of older version until (and including) the creation of newer version. |
List<DeploymentVersionLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesService.compareVersionsByJiraIssues(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2)
Get JIRA issue links for comparing two versions, i.e.
|
List<DeploymentVersionLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesService.compareVersionsByJiraIssues(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2)
Get JIRA issue links for comparing two versions, i.e.
|
@NotNull List<DeploymentVersion> |
DeploymentVersionService.findVersionsBetween(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2)
Deprecated.
since 6.8 as it fetches variables, which is not efficient. Use
DeploymentVersionService.findVersionsBetweenNoVariables(long, DeploymentVersion, DeploymentVersion) instead. |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.findVersionsBetween(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2)
Deprecated.
since 6.8 as it fetches variables, which is not efficient. Use
DeploymentVersionService.findVersionsBetweenNoVariables(long, DeploymentVersion, DeploymentVersion) instead. |
@NotNull List<DeploymentVersion> |
DeploymentVersionService.findVersionsBetweenNoVariables(@NotNull long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2)
Find versions created between version1 and version2.
|
@NotNull List<DeploymentVersion> |
DeploymentVersionService.findVersionsBetweenNoVariables(@NotNull long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2)
Find versions created between version1 and version2.
|
@NotNull List<DeploymentVersionVcsChangeset> |
DeploymentVersionVcsChangesetService.getChangesetsForDeploymentVersion(@NotNull DeploymentVersion deploymentVersion)
Find all
DeploymentVersionVcsChangeset associated with a DeploymentVersion |
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.getChangesetsForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
int maxCommits,
@NotNull DeploymentVersion version)
Same as above, but finds changesets between a certain version and the new version to be created from the planResultKey.
|
int |
DeploymentVersionVcsChangesetService.getCommitCountForDeploymentVersion(@NotNull DeploymentVersion deploymentVersion)
count of all commits in all changesets associated with a
DeploymentVersion |
@NotNull List<InternalLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesService.getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
DeploymentVersion previousVersion)
Same as above, but gets all issues between a specific version and the planResultKey.
|
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.getLastNCommitsForVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
int maxCommits)
Find changesets for the version and fetch n last commits.
|
@NotNull com.google.common.collect.Multimap<String,Artifact> |
DeploymentVersionService.getVersionArtifacts(@NotNull DeploymentVersion deploymentVersion)
Find all
Artifact related to a version. |
@NotNull DeploymentVersion |
DeploymentVersionService.renameVersion(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@NotNull String newVersionName)
Rename a version.
|
void |
DeploymentVersionService.resetVersionsAge(@NotNull DeploymentVersion deploymentVersion)
Resets version's age to 0.
|
@NotNull ErrorCollection |
DeploymentVersionService.validateDeploymentVersionRename(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@Nullable String name)
Validates values to be used for renaming version.
|
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.