|
||||||||||
| 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
edu.rice.cs.drjava.model.repl.newjvm.MainJVM.RunningState
private class MainJVM.RunningState
Has an active interpreter available.
| Field Summary | |
|---|---|
protected InterpreterJVMRemoteI |
_interpreter
|
| Constructor Summary | |
|---|---|
MainJVM.RunningState(InterpreterJVMRemoteI interpreter)
|
|
| Method Summary | |
|---|---|
void |
dispose()
|
InterpreterJVMRemoteI |
interpreter(boolean used)
Get the current interpreter -- null if unavailable. |
void |
restart(boolean force)
Ensure that the interpreter is stopping or not running, to be started again. |
void |
start()
Ensure that the interpreter is starting or running. |
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 edu.rice.cs.drjava.model.repl.newjvm.MainJVM.State |
|---|
started, startFailed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final InterpreterJVMRemoteI _interpreter
| Constructor Detail |
|---|
public MainJVM.RunningState(InterpreterJVMRemoteI interpreter)
| Method Detail |
|---|
public InterpreterJVMRemoteI interpreter(boolean used)
MainJVM.State
interpreter in class MainJVM.Stateused - Whether this access will lead to a used JVM -- one that should be reset even when not forcedpublic void start()
MainJVM.State
start in class MainJVM.Statepublic void stop()
MainJVM.State
stop in class MainJVM.Statepublic void restart(boolean force)
MainJVM.State
restart in class MainJVM.Stateforce - Whether an unused, running JVM should be restartedpublic void dispose()
dispose in class MainJVM.Statepublic void stopped(int status)
MainJVM.State
stopped in class MainJVM.State
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||