| Modifier and Type | Method and Description |
|---|---|
static @Nullable Environment |
DeploymentTaskContextHelper.getEnvironment(@NotNull Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DeploymentTaskContextHelper.setEnvironment(@NotNull Map<String,Object> context,
@NotNull Environment environment) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DecoratedEnvironment
Represents decorated environment for the purpose of using it in the Freemarker generated UI
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Environment |
EnvironmentStatus.getEnvironment()
Environment represented by the status
|
Environment |
EnvironmentTriggerValidationError.getEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
List<Environment> |
PaginatedEnvironmentsForDashboard.getEnvironments() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Set<Requirement> |
DeploymentTaskRequirementSupport.calculateRequirements(@NotNull TaskDefinition taskDefinition,
@NotNull Environment environment)
Populates the
RequirementSet needed based off of the TaskDefinition |
default @NotNull List<RepositoryDefinition> |
RepositoryAwareDeploymentTaskConfigurator.getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition,
@NotNull Environment environment)
Deprecated.
|
| Constructor and Description |
|---|
EnvironmentTriggerValidationError(@NotNull Environment environment,
@NotNull TriggerDefinition triggerDefinition,
@NotNull String errorMessage) |
| Constructor and Description |
|---|
PaginatedEnvironmentsForDashboard(List<Environment> environments,
boolean hasMore,
int nextStart) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Environment |
MutableEnvironment.getImmutableEnvironment()
Generate an immutable version based on this mutable version.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Environment |
EnvironmentService.addEnvironment(long deploymentProjectId,
@Nullable String name,
@Nullable String description)
Creates a new environment in the specified deployment project.
|
Environment |
EnvironmentService.cloneEnvironment(long deploymentProjectId,
long environmentId,
@Nullable String name,
@Nullable String description)
Create new environment as a clone of existing one
|
Environment |
EnvironmentService.cloneEnvironment(long deploymentProjectId,
long environmentId,
@Nullable String name,
@Nullable String description,
@NotNull Map<String,String> oldAndClonedEnvironmentIds)
Create new environment as a clone of existing one and if necessary update triggers' configuration
|
@NotNull Environment |
EnvironmentService.createImmutableEnvironment(@NotNull MutableEnvironment environment)
Converts mutable environment to immutable.
|
@NotNull Environment |
EnvironmentService.createOperationsAwareImmutableEnvironment(@NotNull MutableEnvironment environment)
Create operation aware immutable environment
|
@NotNull Environment |
EnvironmentService.editEnvironment(long environmentId,
String name,
String description)
Edit the details of an existing environment
|
@Nullable Environment |
EnvironmentService.findEnvironmentByName(long deploymentProjectId,
String name)
Find environment with specified name in a deployment project
|
@Nullable Environment |
EnvironmentService.getEnvironment(long environmentId)
Get specific environment by ID.
|
@Nullable Environment |
EnvironmentService.getEnvironmentUnrestricted(long environmentId)
Get specific environment by ID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Environment> |
EnvironmentService.getAllEnvironmentsNoUserContext(int firstResult,
int maxResults)
Deprecated.
since 9.3, avoid due to poor performance, use
EnvironmentService.getAllInternalEnvironmentsNoUserContext(int, int) |
Function<Environment,DecoratedEnvironment> |
EnvironmentService.getEnvironmentDecorator()
Create environment decorator function object.
|
List<Environment> |
EnvironmentService.getEnvironmentsUsingRepositoryDataEntity(long repositoryId)
TODO 6.0 rename to getEnvironmentsUsingRepository
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<PlanRepositoryDefinition> |
EnvironmentService.getPlanRepositoryDefinitionsForEnvironment(@NotNull Environment environment)
Deprecated.
|
@NotNull List<RepositoryDefinition> |
EnvironmentService.getRepositoryDefinitionsForEnvironment(@NotNull Environment environment)
Deprecated.
|
void |
EnvironmentService.startAllTriggers(@NotNull Environment environment)
Start all automatic triggering on
InternalEnvironment |
void |
EnvironmentService.stopAllTriggers(@NotNull Environment environment)
Stop all automatic triggering on
InternalEnvironment |
void |
EnvironmentTaskService.updateRepositoryIdsInTasks(@NotNull Environment environment,
Map<Long,Long> repositoryIdsChanges) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Supplier<Set<Requirement>> |
EnvironmentTaskRequirementsHelper.getEnvironmentRequirementsSupplier(@NotNull Environment environment,
@NotNull TaskDefinition taskDefinition)
Calculates requirements for a task definition that is part of a job.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlanAwareEnvironmentTriggerConfigurator.validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan,
@NotNull ImmutableChain newPlan,
@NotNull Environment environment,
@NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors,
@NotNull TriggerDefinition triggerDefinition)
Validate change of plan deployment is related to.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutionRequestResult |
DeploymentExecutionService.execute(Environment environment,
@NotNull EnvironmentTriggeringAction action)
Start DeploymentContext execution.
|
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.createAfterSuccessfulPlanEnvironmentTriggerAction(@NotNull Environment environment,
@NotNull PlanResultKey planResultKey)
Creates
EnvironmentTriggeringAction used when Environment is triggered by a successful execution of a Chain |
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 |
EnvironmentTriggeringActionFactory.createScheduledEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull PlanKey sourceBranchKey)
Deprecated.
since 5.10
|
EnvironmentTriggeringAction |
EnvironmentTriggeringActionFactory.createScheduledEnvironmentTriggeringAction(@NotNull Environment environment,
@NotNull PlanKey sourceBranchKey,
@NotNull Map<String,String> triggerConfiguration)
Creates
EnvironmentTriggeringAction used during scheduled execution of Environment. |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Environment> |
DeploymentProject.getEnvironments() |
List<? extends Environment> |
DeploymentProjectIdentifier.getEnvironments() |
| Modifier and Type | Method and Description |
|---|---|
Set<Environment> |
ArtifactValidationError.getEnvironments() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Environment |
DeploymentResult.getEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<EnvironmentStatus> |
DeploymentResultService.getLatestKnownDeploymentResultForEnvironments(Iterable<? extends Environment> environments)
Deprecated.
since 6.8 for performance reasons use
DeploymentResultService.getLatestKnownDeploymentResultForEnvironmentsInProject(DeploymentProject) |
Map<Long,EnvironmentStatus> |
DeploymentResultService.getLatestStatusForAllEnvironments(Map<Long,Environment> environmentsById,
Map<Long,DeploymentProject> deploymentProjectsById)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentsInProgressService.onDeploymentTriggered(@NotNull DeploymentResult deploymentResult,
@NotNull DeploymentVersion deploymentVersion,
@NotNull Environment environment,
@NotNull DeploymentProject deploymentProject) |
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.