Package com.liferay.petra.process
Class ProcessUtil
java.lang.Object
com.liferay.petra.process.ProcessUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <O,
E> com.liferay.petra.concurrent.NoticeableFuture<Map.Entry<O, E>> execute
(OutputProcessor<O, E> outputProcessor, String... arguments) static <O,
E> com.liferay.petra.concurrent.NoticeableFuture<Map.Entry<O, E>> execute
(OutputProcessor<O, E> outputProcessor, List<String> arguments)
-
Constructor Details
-
ProcessUtil
public ProcessUtil()
-
-
Method Details
-
execute
public static <O,E> com.liferay.petra.concurrent.NoticeableFuture<Map.Entry<O,E>> execute(OutputProcessor<O, E> outputProcessor, List<String> arguments) throws ProcessException- Throws:
ProcessException
-
execute
public static <O,E> com.liferay.petra.concurrent.NoticeableFuture<Map.Entry<O,E>> execute(OutputProcessor<O, E> outputProcessor, String... arguments) throws ProcessException- Throws:
ProcessException
-