public abstract class BaseJavaApplicationCommandLineState<T extends RunConfigurationBase & CommonJavaRunConfigurationParameters> extends JavaCommandLineState implements RemoteConnectionCreator
Modifier and Type | Field and Description |
---|---|
protected T |
myConfiguration |
Constructor and Description |
---|
BaseJavaApplicationCommandLineState(ExecutionEnvironment environment,
T configuration) |
Modifier and Type | Method and Description |
---|---|
RemoteConnection |
createRemoteConnection(ExecutionEnvironment environment) |
protected TargetedCommandLineBuilder |
createTargetedCommandLine(TargetEnvironmentRequest request,
TargetEnvironmentConfiguration configuration) |
protected T |
getConfiguration() |
boolean |
isPollConnection() |
protected void |
setupJavaParameters(JavaParameters params) |
protected OSProcessHandler |
startProcess()
Starts the process.
|
ansiColoringEnabled, clear, createCommandLine, createJavaParameters, getJavaParameters, shouldAddJavaProgramRunnerActions
addConsoleFilters, createActions, createActions, createConsole, execute, getConsoleBuilder, getEnvironment, getExecutionTarget, getRunnerSettings, setConsoleBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected final T extends RunConfigurationBase & CommonJavaRunConfigurationParameters myConfiguration
public BaseJavaApplicationCommandLineState(ExecutionEnvironment environment, T configuration)
protected void setupJavaParameters(JavaParameters params) throws ExecutionException
ExecutionException
public RemoteConnection createRemoteConnection(ExecutionEnvironment environment)
createRemoteConnection
in interface RemoteConnectionCreator
public boolean isPollConnection()
isPollConnection
in interface RemoteConnectionCreator
protected OSProcessHandler startProcess() throws ExecutionException
CommandLineState
startProcess
in class JavaCommandLineState
ExecutionException
- if the execution failed.GeneralCommandLine
,
OSProcessHandler
protected TargetedCommandLineBuilder createTargetedCommandLine(TargetEnvironmentRequest request, TargetEnvironmentConfiguration configuration) throws ExecutionException
createTargetedCommandLine
in class JavaCommandLineState
ExecutionException
protected T getConfiguration()