public class ProcessUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static CollectorOutputProcessor |
COLLECTOR_OUTPUT_PROCESSOR |
static ConsumerOutputProcessor |
CONSUMER_OUTPUT_PROCESSOR |
static EchoOutputProcessor |
ECHO_OUTPUT_PROCESSOR |
static LoggingOutputProcessor |
LOGGING_OUTPUT_PROCESSOR |
| Constructor and Description |
|---|
ProcessUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static <O,E> NoticeableFuture<ObjectValuePair<O,E>> |
execute(OutputProcessor<O,E> outputProcessor,
List<String> arguments) |
static <O,E> NoticeableFuture<ObjectValuePair<O,E>> |
execute(OutputProcessor<O,E> outputProcessor,
String... arguments) |
public static final CollectorOutputProcessor COLLECTOR_OUTPUT_PROCESSOR
public static final ConsumerOutputProcessor CONSUMER_OUTPUT_PROCESSOR
public static final EchoOutputProcessor ECHO_OUTPUT_PROCESSOR
public static final LoggingOutputProcessor LOGGING_OUTPUT_PROCESSOR
public static <O,E> NoticeableFuture<ObjectValuePair<O,E>> execute(OutputProcessor<O,E> outputProcessor, List<String> arguments) throws ProcessException
ProcessExceptionpublic static <O,E> NoticeableFuture<ObjectValuePair<O,E>> execute(OutputProcessor<O,E> outputProcessor, String... arguments) throws ProcessException
ProcessExceptionpublic void destroy()