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)
ProcessService
ExternalProcess
that logs to the BuildLogger
for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
createExternalProcess
in interface ProcessService
@NotNull public com.atlassian.utils.process.ExternalProcess createProcess(@NotNull TaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
ProcessService
ExternalProcess
that logs to the BuildLogger
for the given PlanResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
createProcess
in interface ProcessService
@NotNull public com.atlassian.utils.process.ExternalProcess executeProcess(@NotNull TaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
ProcessService
ExternalProcess
that logs to the BuildLogger
for the given PlanResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
executeProcess
in interface ProcessService
@NotNull public com.atlassian.utils.process.ExternalProcess executeExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
ProcessService
ExternalProcess
that logs to the BuildLogger
for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator
executeExternalProcess
in interface ProcessService
public static void shutdown()
public BackgroundTaskProcesses getBackgroundProcesses()
ProcessService
getBackgroundProcesses
in interface ProcessService
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.