public static class ProcessContext.Builder extends Object implements org.apache.commons.lang3.builder.Builder<ProcessContext>
Constructor and Description |
---|
ProcessContext.Builder() |
Modifier and Type | Method and Description |
---|---|
ProcessContext |
build() |
ProcessContext.Builder |
withArgs(List<String> args) |
ProcessContext.Builder |
withCommand(String command) |
ProcessContext.Builder |
withDirectory(File directory) |
ProcessContext.Builder |
withDirectory(com.google.common.base.Optional<File> directory) |
ProcessContext.Builder |
withEnvironment(Map<String,String> environment) |
ProcessContext.Builder |
withSleepMillis(long sleepMillis) |
ProcessContext.Builder |
withTimeoutMillis(long timeoutMillis) |
ProcessContext.Builder |
withTimeoutMillis(com.google.common.base.Optional<Long> timeoutMillis) |
public ProcessContext.Builder()
public ProcessContext.Builder withEnvironment(Map<String,String> environment)
public ProcessContext.Builder withCommand(String command)
public ProcessContext.Builder withArgs(List<String> args)
public ProcessContext.Builder withDirectory(com.google.common.base.Optional<File> directory)
public ProcessContext.Builder withDirectory(File directory)
public ProcessContext.Builder withTimeoutMillis(com.google.common.base.Optional<Long> timeoutMillis)
public ProcessContext.Builder withTimeoutMillis(long timeoutMillis)
public ProcessContext.Builder withSleepMillis(long sleepMillis)
public ProcessContext build()
build
in interface org.apache.commons.lang3.builder.Builder<ProcessContext>
Copyright © 2015 The Kuali Foundation. All rights reserved.