@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 |
createExternalProcess(ProcessContext processContext,
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 |
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 |
executeExternalProcess(ProcessContext processContext,
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 |
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 ProcessContext processContext, @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
processContext
- processBuilder
- @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 com.atlassian.utils.process.ExternalProcess executeExternalProcess(@NotNull ProcessContext processContext, @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
processContext
- processBuilder
- BackgroundTaskProcesses getBackgroundProcesses()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.