Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentContextImpl.getDeploymentVersion() |
DeploymentVersion |
DeploymentContext.getDeploymentVersion() |
Constructor and Description |
---|
DeploymentContextImpl(DeploymentProject deploymentProject,
DeploymentResult deploymentResult,
List<TaskDefinition> taskDefinitions,
Map<String,String> artifactHandlerConfiguration,
VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
DeploymentVersion previousVersion,
Iterable<CredentialsData> sharedCredentials,
Map<PlanKey,ChainStorageTag> necessaryStorageTags) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeleteDeploymentResult.getDeploymentVersion() |
DeploymentVersion |
ExecuteManualDeployment.getPreselectedVersion() |
Modifier and Type | Method and Description |
---|---|
DeploymentContext |
DeploymentExecutionServiceImpl.prepareDeploymentContext(Environment environment,
DeploymentVersion deploymentVersion,
TriggerReason triggerReason) |
DeploymentContext |
DeploymentExecutionService.prepareDeploymentContext(Environment environment,
DeploymentVersion deploymentVersion,
TriggerReason triggerReason)
Prepare DeploymentContext out of Environment and DeploymentVersion
|
Modifier and Type | Method and Description |
---|---|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactoryImpl.createManualEnvironmentTriggeringAction(Environment environment,
DeploymentVersion version,
com.atlassian.user.User user) |
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createManualEnvironmentTriggeringAction(Environment environment,
DeploymentVersion version,
com.atlassian.user.User user)
Creates
EnvironmentTriggeringAction used during manual execution of Environment. |
Constructor and Description |
---|
ManualEnvironmentTriggeringAction(DeploymentExecutionService deploymentExecutionService,
TriggerManager triggerManager,
Environment environment,
DeploymentVersion version,
com.atlassian.user.User user) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentProjectStatusForResultSummaryImpl.getFutureVersion() |
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.
|
DeploymentVersion |
DeploymentProjectStatusForResultSummaryImpl.getRelatedVersion() |
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() |
Constructor and Description |
---|
DeploymentProjectStatusForResultSummaryImpl(DeploymentProject deploymentProject,
DeploymentVersion relatedVersion,
DeploymentVersion futureVersion,
ResultsSummary futureVersionResult,
List<? extends EnvironmentStatus> environmentStatuses) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
ViewDeploymentProjects.DeploymentVersionWithEnvironments.getDeploymentVersion() |
Modifier and Type | Method and Description |
---|---|
List<DeploymentVersion> |
ViewDeploymentProjects.getVersions() |
Constructor and Description |
---|
DeploymentVersionWithEnvironments(DeploymentVersion deploymentVersion,
Iterable<Environment> environments) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentResultImpl.getDeploymentVersion() |
DeploymentVersion |
DeploymentResult.getDeploymentVersion() |
Constructor and Description |
---|
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,
Environment environment,
DeploymentVersion deploymentVersion,
Operations operations) |
DeploymentResultImpl(MutableDeploymentResult deploymentResult,
Environment environment,
DeploymentVersion deploymentVersion,
Operations operations) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentResultServiceImpl.getRollbackVersion(DeploymentResult deploymentResult) |
DeploymentVersion |
DeploymentResultService.getRollbackVersion(DeploymentResult deploymentResult)
For a given deployment result find the version that existed on the environment before that deployment.
|
DeploymentVersion |
DeploymentResultServiceImpl.getRollbackVersion(long environmentId) |
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 |
DeploymentsInProgressServiceImpl.onDeploymentTriggered(DeploymentResult deploymentResult,
DeploymentVersion deploymentVersion,
Environment environment,
DeploymentProject deploymentProject) |
void |
DeploymentsInProgressService.onDeploymentTriggered(DeploymentResult deploymentResult,
DeploymentVersion deploymentVersion,
Environment environment,
DeploymentProject deploymentProject) |
DeploymentInProgressImpl.Builder |
DeploymentInProgressImpl.Builder.withDeploymentVersion(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) |
DeploymentVersion |
AbstractDeploymentVersionAction.getDeploymentVersion() |
DeploymentVersion |
CreateDeploymentVersion.getLatestVersion() |
Modifier and Type | Method and Description |
---|---|
protected Pair<DeploymentVersion,PlanResultKey> |
AbstractCreateDeploymentVersion.getLatestVersionWithPlanResultKey(PlanKey sourcePlanKey,
long deploymentProjectId) |
Modifier and Type | Method and Description |
---|---|
protected List<ChainResultsSummary> |
ViewDeploymentVersion.calculateTestedInResults(DeploymentVersion deploymentVersion) |
Constructor and Description |
---|
IndexedVersionImpl(DeploymentVersion deploymentVersion,
DeploymentProject deploymentProject,
PlanResultKey planResultKey,
List<DeploymentVersionLinkedJiraIssue> issues) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentVersionServiceImpl.createDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey) |
DeploymentVersion |
DeploymentVersionService.createDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey)
Deprecated.
|
DeploymentVersion |
DeploymentVersionServiceImpl.createDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
com.atlassian.user.User user,
String versionName,
String nextVersionName) |
DeploymentVersion |
DeploymentVersionService.createDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
com.atlassian.user.User user,
String versionName,
String nextVersionName)
Create a deployment version with a specific name.
|
DeploymentVersion |
DeploymentVersionServiceImpl.findNextVersionContainingResult(long deploymentProjectId,
PlanResultKey planResultKey) |
DeploymentVersion |
DeploymentVersionService.findNextVersionContainingResult(long deploymentProjectId,
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.findPreviousVersion(long deploymentProjectId,
long versionId) |
DeploymentVersion |
DeploymentVersionService.findPreviousVersion(long deploymentProjectId,
long versionId) |
DeploymentVersion |
DeploymentVersionServiceImpl.getDeploymentVersion(DeploymentVersionDto dto,
DeploymentProject project) |
DeploymentVersion |
DeploymentVersionDtoManager.getDeploymentVersion(DeploymentVersionDto dto,
DeploymentProject project)
Deprecated.
Convert a DeploymentVersionDto to a
DeploymentVersion . |
DeploymentVersion |
DeploymentVersionServiceImpl.getDeploymentVersion(long deploymentVersionId) |
DeploymentVersion |
DeploymentVersionService.getDeploymentVersion(long deploymentVersionId)
Get DeploymentVersion by id
|
DeploymentVersion |
DeploymentVersionServiceImpl.getDeploymentVersionByName(String existingVersionName,
long deploymentProjectId) |
DeploymentVersion |
DeploymentVersionService.getDeploymentVersionByName(String existingVersion,
long deploymentProjectId)
Get a specific version by name
|
DeploymentVersion |
DeploymentVersionServiceImpl.getLatestVersionForProject(long deploymentProjectId) |
DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId)
Deprecated.
|
DeploymentVersion |
DeploymentVersionServiceImpl.getLatestVersionForProject(long deploymentProjectId,
PlanKey branchKey) |
DeploymentVersion |
DeploymentVersionService.getLatestVersionForProject(long deploymentProjectId,
PlanKey branchKey)
Find the latest version for a deployment project.
|
DeploymentVersion |
DeploymentVersionServiceImpl.getOrCreateDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey) |
DeploymentVersion |
DeploymentVersionService.getOrCreateDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey)
Given a build result, find a deployment version that matches it, or create it if it doesn't exist.
|
DeploymentVersion |
DeploymentVersionServiceImpl.getRelatedVersion(long deploymentProjectId,
PlanResultKey planResultKey) |
DeploymentVersion |
DeploymentVersionService.getRelatedVersion(long deploymentProjectId,
PlanResultKey planResultKey)
Find latest version of a deployment project that is related to specific plan result.
|
DeploymentVersion |
DeploymentVersionServiceImpl.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName) |
DeploymentVersion |
DeploymentVersionService.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName)
Rename a version.
|
Modifier and Type | Method and Description |
---|---|
Map<DeploymentVersion,Integer> |
DeploymentVersionServiceImpl.findLatestKnownVersionsForEnvironmentsOfDeploymentProject(DeploymentProject deploymentProject) |
Map<DeploymentVersion,Integer> |
DeploymentVersionService.findLatestKnownVersionsForEnvironmentsOfDeploymentProject(DeploymentProject deploymentProject)
Find all
DeploymentVersion that are currently deployed on environments of a DeploymentProject
For each version found give number of environments it is present on. |
List<DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsAssociatedWithJiraIssue(long deploymentProjectId,
String issueKey) |
List<DeploymentVersion> |
DeploymentVersionService.findVersionsAssociatedWithJiraIssue(long deploymentProjectId,
String issueKey)
Find all the versions of a
DeploymentProject that are associated with a JIRA issue |
com.google.common.collect.Multimap<DeploymentProject,DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsAssociatedWithJiraIssue(String issueKey) |
com.google.common.collect.Multimap<DeploymentProject,DeploymentVersion> |
DeploymentVersionService.findVersionsAssociatedWithJiraIssue(String issueKey)
Find all the version that are associated with a JIRA issue, grouped by
DeploymentProject |
List<DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsBetween(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2) |
List<DeploymentVersion> |
DeploymentVersionService.findVersionsBetween(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2)
Find versions created between version1 and version2.
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.getDeploymentProjectVersions(long deploymentProjectId) |
List<DeploymentVersion> |
DeploymentVersionService.getDeploymentProjectVersions(long deploymentProjectId)
Retrieves the list of all the version for the deployment project, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranch(long deploymentProjectId,
PlanKey branchKey) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranch(long deploymentProjectId,
PlanKey branchKey)
Search for deployment versions in a project whose name contains the searchTerm, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByBranchAndName(long deploymentProjectId,
PlanKey branchKey,
String searchTerm) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByBranchAndName(long deploymentProjectId,
PlanKey branchKey,
String searchTerm)
Search for deployment versions in a project whose name contains the searchTerm, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.searchVersionsByName(long deploymentProjectId,
String searchTerm) |
List<DeploymentVersion> |
DeploymentVersionService.searchVersionsByName(long deploymentProjectId,
String searchTerm)
Search for deployment versions in a project whose name contains the searchTerm, sorted by CreationDate (the most recent
Deployment Versions will be returned as firsts)
|
Modifier and Type | Method and Description |
---|---|
DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2,
int maxCommits) |
DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.compareVersionsByChangesets(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2,
int maxCommits)
Find all
DeploymentVersionVcsChangeset that happened after creation of older version until (and including) the creation of newer version. |
List<DeploymentVersionLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesServiceImpl.compareVersionsByJiraIssues(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2) |
List<DeploymentVersionLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesService.compareVersionsByJiraIssues(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2)
Get JIRA issue links for comparing two versions, i.e.
|
List<DeploymentVersion> |
DeploymentVersionServiceImpl.findVersionsBetween(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2) |
List<DeploymentVersion> |
DeploymentVersionService.findVersionsBetween(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2)
Find versions created between version1 and version2.
|
List<DeploymentVersionVcsChangeset> |
DeploymentVersionVcsChangesetServiceImpl.getChangesetsForDeploymentVersion(DeploymentVersion deploymentVersion) |
List<DeploymentVersionVcsChangeset> |
DeploymentVersionVcsChangesetService.getChangesetsForDeploymentVersion(DeploymentVersion deploymentVersion)
Find all
DeploymentVersionVcsChangeset associated with a DeploymentVersion |
DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.getChangesetsForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
int maxCommits,
DeploymentVersion version) |
DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.getChangesetsForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
int maxCommits,
DeploymentVersion version)
Same as above, but finds changesets between a certain version and the new version to be created from the planResultKey.
|
int |
DeploymentVersionVcsChangesetServiceImpl.getCommitCountForDeploymentVersion(DeploymentVersion deploymentVersion) |
int |
DeploymentVersionVcsChangesetService.getCommitCountForDeploymentVersion(DeploymentVersion deploymentVersion)
count of all commits in all changesets associated with a
DeploymentVersion |
List<InternalLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesServiceImpl.getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
DeploymentVersion previousVersion) |
List<InternalLinkedJiraIssue> |
DeploymentVersionLinkedJiraIssuesService.getJiraIssuesForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
DeploymentVersion previousVersion)
Same as above, but gets all issues between a specific version and the planResultKey.
|
DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetServiceImpl.getLastNCommitsForVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
int maxCommits) |
DeploymentVersionCommitsComparisonResult |
DeploymentVersionVcsChangesetService.getLastNCommitsForVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
int maxCommits)
Find changesets for the version and fetch n last commits.
|
com.google.common.collect.Multimap<String,Artifact> |
DeploymentVersionServiceImpl.getVersionArtifacts(DeploymentVersion deploymentVersion) |
com.google.common.collect.Multimap<String,Artifact> |
DeploymentVersionService.getVersionArtifacts(DeploymentVersion deploymentVersion)
Find all
Artifact related to a version. |
MutableDeploymentVersion |
VersionNamingServiceImpl.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName) |
DeploymentVersion |
DeploymentVersionServiceImpl.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName) |
MutableDeploymentVersion |
VersionNamingService.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName)
Rename a version.
|
DeploymentVersion |
DeploymentVersionService.renameVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String newVersionName)
Rename a version.
|
void |
DeploymentVersionServiceImpl.resetVersionsAge(DeploymentVersion deploymentVersion) |
void |
DeploymentVersionService.resetVersionsAge(DeploymentVersion deploymentVersion)
Resets version's age to 0.
|
ErrorCollection |
DeploymentVersionServiceImpl.validateDeploymentVersionRename(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String name) |
ErrorCollection |
DeploymentVersionService.validateDeploymentVersionRename(long deploymentProjectId,
DeploymentVersion deploymentVersion,
String name)
Validates values to be used for renaming version.
|
Modifier and Type | Method and Description |
---|---|
String |
JiraIssueUtils.getRenderedString(String inputString,
DeploymentVersion deploymentVersion)
Renders valid jira issues in the input string, valid issues are determined by what is stored in the DeploymentVersion
|
Constructor and Description |
---|
RestDeploymentVersionLink(DeploymentVersion deploymentVersion,
String versionName,
String baseUrl) |
Constructor and Description |
---|
RestDeploymentProjectStatusForJiraIssue(DeploymentProject deploymentProject,
List<DeploymentVersion> versions,
List<EnvironmentStatus> environmentStatuses,
String baseUrl,
DeploymentVersionService deploymentVersionService) |
Constructor and Description |
---|
DeploymentVersionSearchResult(DeploymentVersion version) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
DeploymentsTestServiceImpl.createDeploymentVersion(DeploymentProject deploymentProject,
PlanResultKey resultKey) |
DeploymentVersion |
DeploymentsTestService.createDeploymentVersion(DeploymentProject deploymentProject,
PlanResultKey resultKey) |
Modifier and Type | Method and Description |
---|---|
List<DeploymentVersion> |
DeploymentsTestServiceImpl.createDeploymentVersions(DeploymentProject deploymentProject,
int firstResult,
int maxResults) |
List<DeploymentVersion> |
DeploymentsTestService.createDeploymentVersions(DeploymentProject deploymentProject,
int firstResult,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
RestDeploymentResult.getDeploymentVersion() |
Modifier and Type | Class and Description |
---|---|
class |
RestDeploymentVersion |
Constructor and Description |
---|
RestDeploymentVersion(DeploymentVersion deploymentVersion) |
Modifier and Type | Method and Description |
---|---|
DeploymentVersion |
ViewChainSummary.VersionWithPlanResultKeys.getDeploymentVersion() |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.