Liferay 7.0-ce-b4

com.liferay.portal.kernel.process
Class ProcessUtil

java.lang.Object
  extended by com.liferay.portal.kernel.process.ProcessUtil

public class ProcessUtil
extends Object


Field Summary
static CollectorOutputProcessor COLLECTOR_OUTPUT_PROCESSOR
           
static ConsumerOutputProcessor CONSUMER_OUTPUT_PROCESSOR
           
static EchoOutputProcessor ECHO_OUTPUT_PROCESSOR
           
static LoggingOutputProcessor LOGGING_OUTPUT_PROCESSOR
           
 
Constructor Summary
ProcessUtil()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLECTOR_OUTPUT_PROCESSOR

public static final CollectorOutputProcessor COLLECTOR_OUTPUT_PROCESSOR

CONSUMER_OUTPUT_PROCESSOR

public static final ConsumerOutputProcessor CONSUMER_OUTPUT_PROCESSOR

ECHO_OUTPUT_PROCESSOR

public static final EchoOutputProcessor ECHO_OUTPUT_PROCESSOR

LOGGING_OUTPUT_PROCESSOR

public static final LoggingOutputProcessor LOGGING_OUTPUT_PROCESSOR
Constructor Detail

ProcessUtil

public ProcessUtil()
Method Detail

execute

public static <O,E> NoticeableFuture<ObjectValuePair<O,E>> execute(OutputProcessor<O,E> outputProcessor,
                                                                   List<String> arguments)
                                                      throws ProcessException
Throws:
ProcessException

execute

public static <O,E> NoticeableFuture<ObjectValuePair<O,E>> execute(OutputProcessor<O,E> outputProcessor,
                                                                   String... arguments)
                                                      throws ProcessException
Throws:
ProcessException

destroy

public void destroy()

Liferay 7.0-ce-b4