com.atlassian.bamboo.process
Interface ProcessService

All Known Implementing Classes:
ProcessServiceImpl

public interface ProcessService

Provides support for executing ExternalProcesss

Since:
3.1

Field Summary
static java.lang.String CBD_BUILD_COMMANDLINE
          Key name in custom build data
 
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
 

Field Detail

CBD_BUILD_COMMANDLINE

static final java.lang.String CBD_BUILD_COMMANDLINE
Key name in custom build data

See Also:
Constant Field Values
Method Detail

createProcess

@NotNull
com.atlassian.utils.process.ExternalProcess createProcess(@NotNull
                                                                  TaskContext taskContext,
                                                                  @NotNull
                                                                  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

Parameters:
taskContext -
processBuilder -
Returns:
externalProcess

executeProcess

@NotNull
com.atlassian.utils.process.ExternalProcess executeProcess(@NotNull
                                                                   TaskContext taskContext,
                                                                   @NotNull
                                                                   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

Parameters:
taskContext -
processBuilder -
Returns:
externalProcess


Copyright © 2012 Atlassian. All Rights Reserved.