| Package | Description |
|---|---|
| com.atlassian.bamboo.chains.plugins | |
| com.atlassian.bamboo.process | |
| com.atlassian.bamboo.task |
| Modifier and Type | Method and Description |
|---|---|
void |
PrePostTaskActions.executeBefore(InternalTaskType task,
CommonTaskContext context)
Executes a custom action before the task is executed.
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.utils.process.ExternalProcess |
ProcessService.createExternalProcess(CommonTaskContext taskContext,
ExternalProcessBuilder processBuilder)
Create a new
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
com.atlassian.utils.process.ExternalProcess |
ProcessService.executeExternalProcess(CommonTaskContext taskContext,
ExternalProcessBuilder processBuilder)
Create and execute
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
Map<String,String> |
EnvironmentVariableAccessor.getEnvironment(CommonTaskContext taskContext)
Use
TaskContext as a source of environment settings. |
List<String> |
EnvironmentVariableAccessor.getPaths(CommonTaskContext taskContext)
Use
TaskContext as a source of additional PATH settings. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TaskContext
Encapsulates the environment and configuration of a task running in a building environment.
|
| Modifier and Type | Method and Description |
|---|---|
TaskResult |
CommonTaskType.execute(CommonTaskContext taskContext)
Executes the task.
|
static TaskResultBuilder |
TaskResultBuilder.newBuilder(CommonTaskContext taskContext)
Creates a new TaskResultBuilder for a
CommonTaskContext |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.