com.atlassian.bamboo.process
Class ProcessServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.process.ProcessServiceImpl
All Implemented Interfaces:
ProcessService

public class ProcessServiceImpl
extends java.lang.Object
implements ProcessService


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.process.ProcessService
CBD_BUILD_COMMANDLINE
 
Constructor Summary
ProcessServiceImpl(BuildLoggerManager buildLoggerManager, CapabilityContext capabilityContext, EnvironmentVariableAccessor environmentVariableAccessor, com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 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 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessServiceImpl

public ProcessServiceImpl(BuildLoggerManager buildLoggerManager,
                          CapabilityContext capabilityContext,
                          EnvironmentVariableAccessor environmentVariableAccessor,
                          com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

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.