public abstract class JavaCommandLineState extends CommandLineState implements JavaCommandLine
Modifier | Constructor and Description |
---|---|
protected |
JavaCommandLineState(ExecutionEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ansiColoringEnabled() |
void |
clear() |
protected GeneralCommandLine |
createCommandLine() |
protected abstract JavaParameters |
createJavaParameters() |
protected TargetedCommandLineBuilder |
createTargetedCommandLine(TargetEnvironmentRequest request,
TargetEnvironmentConfiguration configuration) |
JavaParameters |
getJavaParameters() |
boolean |
shouldAddJavaProgramRunnerActions() |
protected OSProcessHandler |
startProcess()
Starts the process.
|
addConsoleFilters, createActions, createActions, createConsole, execute, getConsoleBuilder, getEnvironment, getExecutionTarget, getRunnerSettings, setConsoleBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected JavaCommandLineState(ExecutionEnvironment environment)
public JavaParameters getJavaParameters() throws ExecutionException
getJavaParameters
in interface JavaCommandLine
ExecutionException
public void clear()
protected OSProcessHandler startProcess() throws ExecutionException
CommandLineState
startProcess
in class CommandLineState
ExecutionException
- if the execution failed.GeneralCommandLine
,
OSProcessHandler
protected boolean ansiColoringEnabled()
protected abstract JavaParameters createJavaParameters() throws ExecutionException
ExecutionException
protected TargetedCommandLineBuilder createTargetedCommandLine(TargetEnvironmentRequest request, TargetEnvironmentConfiguration configuration) throws ExecutionException
ExecutionException
protected GeneralCommandLine createCommandLine() throws ExecutionException
ExecutionException
public boolean shouldAddJavaProgramRunnerActions()