@PublicApi
public interface ProcessService
ExternalProcess
sModifier and Type | Field and Description |
---|---|
static String |
CBD_BUILD_COMMANDLINE
Key name in custom build data
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.utils.process.ExternalProcess |
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 |
createProcess(TaskContext taskContext,
ExternalProcessBuilder processBuilder)
Deprecated.
|
com.atlassian.utils.process.ExternalProcess |
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 |
com.atlassian.utils.process.ExternalProcess |
executeProcess(TaskContext taskContext,
ExternalProcessBuilder processBuilder)
Deprecated.
|
BackgroundTaskProcesses |
getBackgroundProcesses()
Returns the container used to handle the currently running background processes.
|
static final String CBD_BUILD_COMMANDLINE
@NotNull com.atlassian.utils.process.ExternalProcess createExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
ExternalProcess
that logs to the BuildLogger
for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
taskContext
- processBuilder
- @NotNull com.atlassian.utils.process.ExternalProcess executeExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
ExternalProcess
that logs to the BuildLogger
for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
taskContext
- processBuilder
- @NotNull @Deprecated com.atlassian.utils.process.ExternalProcess createProcess(@NotNull TaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
createExternalProcess(CommonTaskContext, ExternalProcessBuilder)
ExternalProcess
that logs to the BuildLogger
for the given PlanResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
taskContext
- processBuilder
- @NotNull @Deprecated com.atlassian.utils.process.ExternalProcess executeProcess(@NotNull TaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
executeExternalProcess(CommonTaskContext, ExternalProcessBuilder)
ExternalProcess
that logs to the BuildLogger
for the given PlanResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
taskContext
- processBuilder
- BackgroundTaskProcesses getBackgroundProcesses()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.