public class ProcessServiceImpl extends Object implements ProcessService
CBD_BUILD_COMMANDLINE| Constructor and Description |
|---|
ProcessServiceImpl(BuildLoggerManager buildLoggerManager,
EnvironmentVariableAccessor environmentVariableAccessor,
com.atlassian.plugin.PluginAccessor pluginAccessor) |
| 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)
Create a new
ExternalProcess that logs to the BuildLogger for the given PlanResultKey
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 |
executeProcess(TaskContext taskContext,
ExternalProcessBuilder processBuilder)
Create and execute
ExternalProcess that logs to the BuildLogger for the given PlanResultKey
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 void |
shutdown() |
public ProcessServiceImpl(BuildLoggerManager buildLoggerManager, EnvironmentVariableAccessor environmentVariableAccessor, com.atlassian.plugin.PluginAccessor pluginAccessor)
@NotNull
public com.atlassian.utils.process.ExternalProcess createExternalProcess(@NotNull
CommonTaskContext taskContext,
@NotNull
ExternalProcessBuilder processBuilder)
ProcessServiceExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecoratorcreateExternalProcess in interface ProcessService@NotNull
public com.atlassian.utils.process.ExternalProcess createProcess(@NotNull
TaskContext taskContext,
@NotNull
ExternalProcessBuilder processBuilder)
ProcessServiceExternalProcess that logs to the BuildLogger for the given PlanResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecoratorcreateProcess in interface ProcessService@NotNull
public com.atlassian.utils.process.ExternalProcess executeProcess(@NotNull
TaskContext taskContext,
@NotNull
ExternalProcessBuilder processBuilder)
ProcessServiceExternalProcess that logs to the BuildLogger for the given PlanResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecoratorexecuteProcess in interface ProcessService@NotNull
public com.atlassian.utils.process.ExternalProcess executeExternalProcess(@NotNull
CommonTaskContext taskContext,
@NotNull
ExternalProcessBuilder processBuilder)
ProcessServiceExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecoratorexecuteExternalProcess in interface ProcessServicepublic static void shutdown()
public BackgroundTaskProcesses getBackgroundProcesses()
ProcessServicegetBackgroundProcesses in interface ProcessServiceCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.