public class RemoteStateState extends java.lang.Object implements RemoteState
Constructor and Description |
---|
RemoteStateState(Project project,
RemoteConnection connection) |
RemoteStateState(Project project,
RemoteConnection connection,
boolean autoRestart) |
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
execute(Executor executor,
ProgramRunner<?> runner)
Starts the process.
|
RemoteConnection |
getRemoteConnection() |
public RemoteStateState(Project project, RemoteConnection connection)
public RemoteStateState(Project project, RemoteConnection connection, boolean autoRestart)
public ExecutionResult execute(Executor executor, ProgramRunner<?> runner) throws ExecutionException
RunProfileState
execute
in interface RunProfileState
executor
- the executor used to start up the process.runner
- the program runner used to start up the process.DefaultExecutionResult
), containing a process handler
and a console attached to it.ExecutionException
- if the execution has failed.public RemoteConnection getRemoteConnection()
getRemoteConnection
in interface RemoteState