public class ProcessServiceImpl extends Object implements ProcessService
CBD_BUILD_COMMANDLINE
Constructor and Description |
---|
ProcessServiceImpl() |
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 void |
shutdown() |
@NotNull public com.atlassian.utils.process.ExternalProcess createExternalProcess(@NotNull ProcessContext processContext, @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 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 executeExternalProcess(@NotNull ProcessContext processContext, @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
@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 © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.