public abstract class ProcessHandlerFactory
extends java.lang.Object
Constructor and Description |
---|
ProcessHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract OSProcessHandler |
createColoredProcessHandler(GeneralCommandLine commandLine)
Returns a new instance of the
OSProcessHandler which is aware of ANSI coloring output. |
abstract OSProcessHandler |
createProcessHandler(GeneralCommandLine commandLine)
Returns a new instance of the
OSProcessHandler . |
static ProcessHandlerFactory |
getInstance() |
public static ProcessHandlerFactory getInstance()
public abstract OSProcessHandler createProcessHandler(GeneralCommandLine commandLine) throws ExecutionException
OSProcessHandler
.ExecutionException
public abstract OSProcessHandler createColoredProcessHandler(GeneralCommandLine commandLine) throws ExecutionException
OSProcessHandler
which is aware of ANSI coloring output.ExecutionException