com.atlassian.bamboo.process
Class ExternalProcessBuilder

java.lang.Object
  extended by com.atlassian.bamboo.process.ExternalProcessBuilder

public final class ExternalProcessBuilder
extends java.lang.Object

Builder to create ExternalProcesss using the ProcessService

Since:
3.1

Constructor Summary
ExternalProcessBuilder()
           
 
Method Summary
 ExternalProcessBuilder command(java.util.List command)
           
 ExternalProcessBuilder env(java.util.Map env)
           
 ExternalProcessBuilder env(java.lang.String key, java.lang.String value)
           
 java.util.List getCommand()
           
 java.util.Map getEnv()
           
 java.util.List getPaths()
           
 java.io.File getWorkingDirectory()
           
 ExternalProcessBuilder path(java.util.List path)
           
 ExternalProcessBuilder path(java.lang.String path)
           
 ExternalProcessBuilder workingDirectory(java.io.File workingDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalProcessBuilder

public ExternalProcessBuilder()
Method Detail

path

public ExternalProcessBuilder path(@NotNull
                                   java.lang.String path)

path

public ExternalProcessBuilder path(@NotNull
                                   java.util.List path)

command

public ExternalProcessBuilder command(@NotNull
                                      java.util.List command)

env

public ExternalProcessBuilder env(@NotNull
                                  java.util.Map env)

env

public ExternalProcessBuilder env(@NotNull
                                  java.lang.String key,
                                  @NotNull
                                  java.lang.String value)

workingDirectory

public ExternalProcessBuilder workingDirectory(@NotNull
                                               java.io.File workingDirectory)

getPaths

public java.util.List getPaths()

getCommand

public java.util.List getCommand()

getWorkingDirectory

public java.io.File getWorkingDirectory()

getEnv

public java.util.Map getEnv()


Copyright © 2011 Atlassian. All Rights Reserved.