|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.repl.newjvm.MainJVM.State
private abstract class MainJVM.State
State-based implementation of the starting/stopping functionality.
| Constructor Summary | |
|---|---|
private |
MainJVM.State()
|
| Method Summary | |
|---|---|
abstract void |
dispose()
|
abstract InterpreterJVMRemoteI |
interpreter(boolean used)
Get the current interpreter -- null if unavailable. |
abstract void |
restart(boolean force)
Ensure that the interpreter is stopping or not running, to be started again. |
abstract void |
start()
Ensure that the interpreter is starting or running. |
void |
started(InterpreterJVMRemoteI i)
React to a completed startup. |
void |
startFailed(Exception e)
React to a failed startup. |
abstract void |
stop()
Ensure that the interpreter is stopping or not running. |
void |
stopped(int status)
React to a completed shutdown (requested or spontaneous). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private MainJVM.State()
| Method Detail |
|---|
public abstract InterpreterJVMRemoteI interpreter(boolean used)
used - Whether this access will lead to a used JVM -- one that should be reset even when not forcedpublic abstract void start()
public abstract void stop()
public abstract void restart(boolean force)
force - Whether an unused, running JVM should be restartedpublic abstract void dispose()
public void started(InterpreterJVMRemoteI i)
public void startFailed(Exception e)
public void stopped(int status)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||