public class RemoteProjectLauncherPlugin
extends ProjectLauncher
| Constructor and Description |
|---|
RemoteProjectLauncherPlugin(Project project)
The well defined launcher
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Kill!
|
void |
close()
Make sure all sessions are closed
|
Jar |
executable()
Created a JAR that is a bundle and that contains its dependencies
|
java.lang.String |
getMainTypeName()
We do not have a main for a remote framework
|
java.util.List<? extends RunSession> |
getRunSessions()
Get the sessions
|
int |
launch()
provide backward compatibility with the older API when IDE did not have
multiple sessions.
|
void |
prepare()
We parse the -runremote and create sessions for each one of them
|
void |
update()
Called when a change in the IDE is detected.
|
void |
write(java.lang.String text)
Send any given text to the remote framework and treat it as input
|
public RemoteProjectLauncherPlugin(Project project)
throws java.lang.Exception
project - the project or Runjava.lang.Exceptionpublic java.lang.String getMainTypeName()
public void update()
throws java.lang.Exception
java.lang.Exceptionpublic void prepare()
throws java.lang.Exception
java.lang.Exceptionpublic int launch()
throws java.lang.Exception
java.lang.Exceptionpublic void close()
public void cancel()
throws java.lang.Exception
java.lang.Exceptionpublic void write(java.lang.String text)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<? extends RunSession> getRunSessions()
throws java.lang.Exception
java.lang.Exceptionpublic Jar executable()
throws java.lang.Exception
java.lang.ExceptionCopyright (c) aQute SARL (2000, 2016) and others. All Rights Reserved.