|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VirtualMachine
Abstract description of a VM. This interface is used to abstract the platform model from the underlying connection / debugger protocol.
| Field Summary | |
|---|---|
static int |
DEFAULT_TIMEOUT
|
| Method Summary | |
|---|---|
java.util.List |
allScripts()
Returns the live list of ScriptReferences loaded in the VirtualMachine
or an empty list. |
java.util.List |
allThreads()
Returns the live list of ThreadReferences in the VirtualMachine
or an empty list. |
java.lang.String |
description()
Returns the description of the VirtualMachine. |
void |
dispose()
Disposes the VirtualMachine and cleans up held objects |
EventQueue |
eventQueue()
Returns the EventQueue associated with this VirtualMachine. |
EventRequestManager |
eventRequestManager()
Returns the EventRequestManager associated with this VirtualMachine. |
BooleanValue |
mirrorOf(boolean bool)
Returns a new BooleanValue. |
NumberValue |
mirrorOf(java.lang.Number number)
Returns a new NumberValue. |
StringValue |
mirrorOf(java.lang.String string)
Returns a StringValue initialized to the given String. |
NullValue |
mirrorOfNull()
Returns the NullValue value. |
UndefinedValue |
mirrorOfUndefined()
Returns the UndefinedValue value. |
java.lang.String |
name()
Returns the name of the VirtualMachine. |
void |
resume()
Sends a resume request to the VM |
void |
suspend()
Sends a suspend request to the VM |
void |
terminate()
Terminates and disconnects the VM |
java.lang.String |
version()
Returns the version string of the VirtualMachine. |
| Field Detail |
|---|
static final int DEFAULT_TIMEOUT
| Method Detail |
|---|
void resume()
void suspend()
void terminate()
java.lang.String name()
VirtualMachine.null
VirtualMachine or nulljava.lang.String description()
VirtualMachine.null
VirtualMachine or nulljava.lang.String version()
VirtualMachine.null
VirtualMachine or nulljava.util.List allThreads()
ThreadReferences in the VirtualMachine
or an empty list.null
ThreadReferences in the VirtualMachine
or an empty list, never nulljava.util.List allScripts()
ScriptReferences loaded in the VirtualMachine
or an empty list.null
ScriptReferences
or an empty list, never nullvoid dispose()
VirtualMachine and cleans up held objects
UndefinedValue mirrorOfUndefined()
UndefinedValue value.
UndefinedValue valueNullValue mirrorOfNull()
NullValue value.
NullValue value.BooleanValue mirrorOf(boolean bool)
BooleanValue.
bool - the boolean primitive to mirror in the VirtualMachine
BooleanValueNumberValue mirrorOf(java.lang.Number number)
NumberValue.
number - the Number to mirror in the VirtualMachine
NumberValueStringValue mirrorOf(java.lang.String string)
StringValue initialized to the given String.
string - the initial value for the mirrored StringValue
StringValueEventRequestManager eventRequestManager()
EventRequestManager associated with this VirtualMachine.null if the VirtualMachine has been disposed or terminated.
EventRequestManager for this VirtualMachine or nullEventQueue eventQueue()
EventQueue associated with this VirtualMachine.null if the VirtualMachine has been disposed or terminated.
EventQueue for this VirtualMachine or null
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||