com.atlassian.bamboo.process
Class ExternalProcessBuilder
java.lang.Object
com.atlassian.bamboo.process.ExternalProcessBuilder
public final class ExternalProcessBuilder
- extends java.lang.Object
Builder to create ExternalProcess
s using the ProcessService
- Since:
- 3.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalProcessBuilder
public ExternalProcessBuilder()
path
public ExternalProcessBuilder path(@NotNull
java.lang.String path)
path
public ExternalProcessBuilder path(@NotNull
java.util.List<java.lang.String> path)
command
public ExternalProcessBuilder command(@NotNull
java.util.List<java.lang.String> command)
env
public ExternalProcessBuilder env(@NotNull
java.util.Map<java.lang.String,java.lang.String> 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<java.lang.String> getPaths()
getCommand
public java.util.List<java.lang.String> getCommand()
getWorkingDirectory
public java.io.File getWorkingDirectory()
getEnv
public java.util.Map<java.lang.String,java.lang.String> getEnv()
Copyright © 2011 Atlassian. All Rights Reserved.