|
||||||||||
| 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.StartingState
private class MainJVM.StartingState
Has been started, waiting for startup to complete.
| Field Summary | |
|---|---|
private int |
_failures
|
| Constructor Summary | |
|---|---|
|
MainJVM.StartingState()
|
private |
MainJVM.StartingState(int failures)
|
| 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 |
started(InterpreterJVMRemoteI i)
React to a completed startup. |
void |
startFailed(Exception e)
React to a failed startup. |
void |
stop()
Ensure that the interpreter is stopping or not running. |
| Methods inherited from class edu.rice.cs.drjava.model.repl.newjvm.MainJVM.State |
|---|
stopped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int _failures
| Constructor Detail |
|---|
public MainJVM.StartingState()
private MainJVM.StartingState(int failures)
| 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 restart(boolean force)
MainJVM.State
restart in class MainJVM.Stateforce - Whether an unused, running JVM should be restartedpublic void stop()
MainJVM.State
stop in class MainJVM.Statepublic void dispose()
dispose in class MainJVM.Statepublic void started(InterpreterJVMRemoteI i)
MainJVM.State
started in class MainJVM.Statepublic void startFailed(Exception e)
MainJVM.State
startFailed in class MainJVM.State
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||