com.atlassian.bamboo.process
Class ProcessServiceImpl
java.lang.Object
com.atlassian.bamboo.process.ProcessServiceImpl
- All Implemented Interfaces:
- ProcessService
public class ProcessServiceImpl
- extends java.lang.Object
- implements ProcessService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessServiceImpl
public ProcessServiceImpl(BuildLoggerManager buildLoggerManager,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor,
com.atlassian.plugin.PluginAccessor pluginAccessor)
createProcess
@NotNull
public com.atlassian.utils.process.ExternalProcess createProcess(@NotNull
TaskContext taskContext,
@NotNull
ExternalProcessBuilder processBuilder)
- Description copied from interface:
ProcessService
- 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
- Specified by:
createProcess
in interface ProcessService
- Returns:
- externalProcess
executeProcess
@NotNull
public com.atlassian.utils.process.ExternalProcess executeProcess(@NotNull
TaskContext taskContext,
@NotNull
ExternalProcessBuilder processBuilder)
- Description copied from interface:
ProcessService
- 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
- Specified by:
executeProcess
in interface ProcessService
- Returns:
- externalProcess
Copyright © 2012 Atlassian. All Rights Reserved.