Modifier and Type | Method and Description |
---|---|
@NotNull DeploymentVersion |
DeploymentContext.getDeploymentVersion() |
@NotNull DeploymentVersion |
DeploymentContextImpl.getDeploymentVersion() |
Constructor and Description |
---|
DeploymentContextImpl(@NotNull DeploymentProject deploymentProject,
@NotNull DeploymentResult deploymentResult,
@NotNull List<TaskDefinition> taskDefinitions,
@NotNull Map<String,String> artifactHandlerConfiguration,
@NotNull VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
@Nullable DeploymentVersion previousVersion,
@NotNull Iterable<CredentialsData> sharedCredentials,
@NotNull Map<PlanKey,ChainStorageTag> necessaryStorageTags,
@NotNull Map<String,Map<String,String>> pluginConfigMap,
@NotNull DockerPipelineConfiguration dockerPipelineConfiguration,
@NotNull CommonArtifactContext commonArtifactContext,
boolean isVerboseLoggingOn,
boolean expectingDedicatedEphemeralAgent) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeleteDeploymentResult.getDeploymentVersion() |
DeploymentVersion |
ExecuteManualDeployment.getPreselectedVersion() |
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 |
DeploymentExecutionServiceImpl.prepareDeploymentContext(@NotNull Environment environment,
@NotNull DeploymentVersion deploymentVersion,
@NotNull TriggerReason triggerReason) |
DeploymentContext |
DeploymentExecutionService.prepareDeploymentContext(@NotNull Environment environment,
@NotNull DeploymentVersion deploymentVersion,
@NotNull TriggerReason triggerReason,
@NotNull boolean isVerboseLoggingOn)
Prepare DeploymentContext out of Environment and DeploymentVersion
|
DeploymentContext |
DeploymentExecutionServiceImpl.prepareDeploymentContext(@NotNull Environment environment,
@NotNull DeploymentVersion deploymentVersion,
@NotNull TriggerReason triggerReason,
@NotNull boolean isVerboseLoggingOn) |
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. |
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactoryImpl.createManualEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull DeploymentVersion version,
@NotNull com.atlassian.user.User user,
@NotNull boolean isVerboseLoggingOn) |
Constructor and Description |
---|
ManualEnvironmentTriggeringAction(DeploymentExecutionService deploymentExecutionService,
TriggerManager triggerManager,
@NotNull Environment environment,
DeploymentVersion version,
com.atlassian.user.User user,
boolean isVerboseLoggingOn) |
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 |
DeploymentProjectStatusForResultSummaryImpl.getFutureVersion() |
@Nullable DeploymentVersion |
DeploymentProjectStatusForResultSummary.getRelatedVersion()
Version associated with the
ResultsSummary |
@Nullable DeploymentVersion |
DeploymentProjectStatusForResultSummaryImpl.getRelatedVersion() |
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() |
Constructor and Description |
---|
DeploymentProjectStatusForResultSummaryImpl(@NotNull DeploymentProject deploymentProject,
@Nullable DeploymentVersion relatedVersion,
@Nullable DeploymentVersion futureVersion,
@Nullable ResultsSummary futureVersionResult,
@NotNull List<? extends EnvironmentStatus> environmentStatuses) |
DeploymentProjectStatusForResultSummaryImpl(@NotNull DeploymentProject deploymentProject,
@Nullable DeploymentVersion relatedVersion,
@Nullable DeploymentVersion futureVersion,
@Nullable ResultsSummary futureVersionResult,
@NotNull List<? extends EnvironmentStatus> environmentStatuses) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
ViewDeploymentProjects.DeploymentVersionWithEnvironments.getDeploymentVersion() |
Constructor and Description |
---|
DeploymentVersionWithEnvironments(DeploymentVersion deploymentVersion,
Iterable<? extends InternalEnvironment> environments) |
Modifier and Type | Method and Description |
---|---|
@Nullable DeploymentVersion |
DeploymentResult.getDeploymentVersion() |
@Nullable DeploymentVersion |
DeploymentResultImpl.getDeploymentVersion() |
Constructor and Description |
---|
DeploymentResultImpl(@NotNull DeploymentResultDto deploymentResult,
@NotNull Environment environment,
@Nullable DeploymentVersion deploymentVersion,
@Nullable Operations operations) |
DeploymentResultImpl(long id,
BuildState deploymentState,
LifeCycleState lifeCycleState,
Date startedDate,
Date queuedDate,
Date executedDate,
Date finishedDate,
String deploymentVersionName,
Long agentId,
Map<String,String> customData,
TriggerReason triggerReason,
@NotNull Environment environment,
@Nullable DeploymentVersion deploymentVersion,
@Nullable Operations operations) |
DeploymentResultImpl(@NotNull MutableDeploymentResult deploymentResult,
@NotNull Environment environment,
@Nullable DeploymentVersion deploymentVersion,
@Nullable Operations operations) |
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 |
DeploymentResultServiceImpl.getRollbackVersion(@NotNull DeploymentResult deploymentResult) |
@Nullable DeploymentVersion |
DeploymentResultService.getRollbackVersion(long environmentId)
For a given environment find the version that existed on the environment prior to the last deployment.
|
DeploymentVersion |
DeploymentResultServiceImpl.getRollbackVersion(long environmentId) |
Modifier and Type | Method and Description |
---|---|
void |
DeploymentsInProgressService.onDeploymentTriggered(@NotNull DeploymentResult deploymentResult,
@NotNull DeploymentVersion deploymentVersion,
@NotNull Environment environment,
@NotNull DeploymentProject deploymentProject) |
void |
DeploymentsInProgressServiceImpl.onDeploymentTriggered(@NotNull DeploymentResult deploymentResult,
@NotNull DeploymentVersion deploymentVersion,
@NotNull Environment environment,
@NotNull DeploymentProject deploymentProject) |
DeploymentInProgressImpl.Builder |
DeploymentInProgressImpl.Builder.withDeploymentVersion(@NotNull DeploymentVersion deploymentVersion) |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentVersionImpl |
Modifier and Type | Method and Description |
---|---|
protected DeploymentVersion |
AbstractCreateDeploymentVersion.createVersion(DeploymentProject deploymentProject,
String newReleaseBuildResult,
String versionName) |
@Nullable DeploymentVersion |
AbstractDeploymentVersionAction.getDeploymentVersion() |
@Nullable DeploymentVersion |
CreateDeploymentVersion.getLatestVersion() |
Modifier and Type | Method and Description |
---|---|
protected List<ChainResultsSummary> |
ViewDeploymentVersion.calculateTestedInResults(DeploymentVersion deploymentVersion) |
Constructor and Description |
---|
IndexedVersionImpl(@NotNull DeploymentVersion deploymentVersion,
@Nullable PlanResultKey planResultKey,
@NotNull List<DeploymentVersionLinkedJiraIssue> issues) |
Modifier and Type | Method and Description |
---|---|
@NotNull DeploymentVersion |
DeploymentVersionService.createDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey)
Deprecated.
|
@NotNull DeploymentVersion |
DeploymentVersionServiceImpl.createDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey) |
@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.
|
@NotNull DeploymentVersion |
DeploymentVersionServiceImpl.createDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey,
@Nullable com.atlassian.user.User user,
@Nullable String versionName,
@Nullable String nextVersionName) |
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)
|
DeploymentVersion |
DeploymentVersionServiceImpl.findNextVersionContainingResult(long deploymentProjectId,
@NotNull PlanResultKey planResultKey) |
@Nullable DeploymentVersion |
DeploymentVersionService.findPreviousVersion(long deploymentProjectId,
long versionId) |
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.findPreviousVersion(long deploymentProjectId,
long versionId) |
@Nullable DeploymentVersion |
DeploymentVersionDtoManager.getDeploymentVersion(@Nullable DeploymentVersionDto dto,
@Nullable DeploymentProject project)
Deprecated.
Convert a DeploymentVersionDto to a
DeploymentVersion . |
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getDeploymentVersion(@Nullable DeploymentVersionDto dto,
@Nullable DeploymentProject project) |
@Nullable DeploymentVersion |
DeploymentVersionService.getDeploymentVersion(long deploymentVersionId)
Get DeploymentVersion by id
|
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getDeploymentVersion(long deploymentVersionId) |
@Nullable DeploymentVersion |
DeploymentVersionService.getDeploymentVersionByName(@NotNull String existingVersion,
long deploymentProjectId)
Get a specific version by name
|
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getDeploymentVersionByName(@NotNull String existingVersionName,
long deploymentProjectId) |
@Nullable DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId)
Deprecated.
|
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getLatestVersionForProject(long deploymentProjectId) |
@Nullable DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey)
Find the latest version for a deployment project.
|
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getLatestVersionForProject(long deploymentProjectId,
@NotNull PlanKey branchKey) |
@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.
|
@NotNull DeploymentVersion |
DeploymentVersionServiceImpl.getOrCreateDeploymentVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey) |
@Nullable DeploymentVersion |
DeploymentVersionService.getRelatedVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey)
Find latest version of a deployment project that is related to specific plan result.
|
@Nullable DeploymentVersion |
DeploymentVersionServiceImpl.getRelatedVersion(long deploymentProjectId,
@NotNull PlanResultKey planResultKey) |
@NotNull DeploymentVersion |
DeploymentVersionService.renameVersion(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@NotNull String newVersionName)
Rename a version.
|
@NotNull DeploymentVersion |
DeploymentVersionServiceImpl.renameVersion(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@NotNull String newVersionName) |
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. |
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2,
int maxCommits) |
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2,
int maxCommits) |
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.
|
List<DeploymentVersionLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesServiceImpl.compareVersionsByJiraIssues(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2) |
List<DeploymentVersionLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesServiceImpl.compareVersionsByJiraIssues(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2) |
@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> |
DeploymentVersionServiceImpl.findVersionsBetween(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2) |
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsBetween(long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2) |
@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<DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsBetweenNoVariables(@NotNull long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2) |
@NotNull List<DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsBetweenNoVariables(@NotNull long deploymentProjectId,
@NotNull DeploymentVersion version1,
@NotNull DeploymentVersion version2) |
@NotNull List<DeploymentVersionVcsChangeset> |
DeploymentVersionVcsChangesetService.getChangesetsForDeploymentVersion(@NotNull DeploymentVersion deploymentVersion)
Find all
DeploymentVersionVcsChangeset associated with a DeploymentVersion |
@NotNull List<DeploymentVersionVcsChangeset> |
DeploymentVersionVcsChangesetServiceImpl.getChangesetsForDeploymentVersion(@NotNull DeploymentVersion 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.
|
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.getChangesetsForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
int maxCommits,
@NotNull DeploymentVersion version) |
int |
DeploymentVersionVcsChangesetService.getCommitCountForDeploymentVersion(@NotNull DeploymentVersion deploymentVersion)
count of all commits in all changesets associated with a
DeploymentVersion |
int |
DeploymentVersionVcsChangesetServiceImpl.getCommitCountForDeploymentVersion(@NotNull DeploymentVersion 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 List<InternalLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesServiceImpl.getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
DeploymentVersion previousVersion) |
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.getLastNCommitsForVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
int maxCommits)
Find changesets for the version and fetch n last commits.
|
@NotNull DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.getLastNCommitsForVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
int maxCommits) |
@NotNull com.google.common.collect.Multimap<String,Artifact> |
DeploymentVersionService.getVersionArtifacts(@NotNull DeploymentVersion deploymentVersion)
Find all
Artifact related to a version. |
@NotNull com.google.common.collect.Multimap<String,Artifact> |
DeploymentVersionServiceImpl.getVersionArtifacts(@NotNull DeploymentVersion deploymentVersion) |
@NotNull DeploymentVersion |
DeploymentVersionService.renameVersion(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@NotNull String newVersionName)
Rename a version.
|
@NotNull MutableDeploymentVersion |
VersionNamingServiceImpl.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName) |
@NotNull DeploymentVersion |
DeploymentVersionServiceImpl.renameVersion(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@NotNull String newVersionName) |
@NotNull MutableDeploymentVersion |
VersionNamingService.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName)
Rename a version.
|
void |
DeploymentVersionService.resetVersionsAge(@NotNull DeploymentVersion deploymentVersion)
Resets version's age to 0.
|
void |
DeploymentVersionServiceImpl.resetVersionsAge(@NotNull DeploymentVersion deploymentVersion) |
@NotNull ErrorCollection |
DeploymentVersionService.validateDeploymentVersionRename(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@Nullable String name)
Validates values to be used for renaming version.
|
@NotNull ErrorCollection |
DeploymentVersionServiceImpl.validateDeploymentVersionRename(long deploymentProjectId,
@NotNull DeploymentVersion deploymentVersion,
@Nullable String name) |
Modifier and Type | Method and Description |
---|---|
@Nullable String |
JiraIssueUtils.getRenderedString(@Nullable String inputString,
@NotNull DeploymentVersion deploymentVersion)
Renders valid jira issues in the input string, valid issues are determined by what is stored in the DeploymentVersion
|
Constructor and Description |
---|
VersionSummary(DeploymentVersion version,
String baseUrl) |
Constructor and Description |
---|
DeploymentVersionSearchResult(DeploymentVersion version) |
Modifier and Type | Method and Description |
---|---|
@NotNull DeploymentVersion |
DeploymentsTestServiceImpl.createDeploymentVersion(@NotNull DeploymentProject deploymentProject,
@NotNull PlanResultKey resultKey) |
@NotNull DeploymentVersion |
DeploymentsTestService.createDeploymentVersion(@NotNull DeploymentProject deploymentProject,
@NotNull PlanResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
@Nullable DeploymentVersion |
RestDeploymentResult.getDeploymentVersion() |
Modifier and Type | Class and Description |
---|---|
class |
RestDeploymentVersion |
Constructor and Description |
---|
RestDeploymentVersion(@NotNull DeploymentVersion deploymentVersion) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
ViewChainSummary.VersionWithRelatedPlanResults.getDeploymentVersion() |
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.