JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.debug.core.jsdi.request
Interface EventRequestManager


public interface EventRequestManager

Description of a manager for creating EventRequests

Since:
1.0
See Also:
EventRequest
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 List breakpointRequests()
          Returns the live immutable list of BreakpointRequests currently queued in the manager.
 BreakpointRequest createBreakpointRequest(Location location)
          Creates a new BreakpointRequest for the given Location.
 DebuggerStatementRequest createDebuggerStatementRequest()
          Creates a new DebuggerStatementRequest.
 ExceptionRequest createExceptionRequest()
          Creates a new ExceptionRequest.
 ScriptLoadRequest createScriptLoadRequest()
          Creates a new ScriptLoadRequest.
 StepRequest createStepRequest(ThreadReference thread, int step)
          Creates a new StepRequest for the specified ThreadReference of the given kind.
 SuspendRequest createSuspendRequest(ThreadReference thread)
          Creates a new SuspendRequest for the specified ThreadReference.
 ThreadEnterRequest createThreadEnterRequest()
          Creates a new ThreadEnterRequest.
 ThreadExitRequest createThreadExitRequest()
          Creates a new ThreadExitRequest.
 VMDeathRequest createVMDeathRequest()
          Creates a new VMDeathRequest.
 VMDisconnectRequest createVMDisconnectRequest()
          Creates a new VMDisconnectRequest.
 List debuggerStatementRequests()
          Returns the live immutable list of DebuggerStatementRequests currently queued in the manager.
 void deleteEventRequest(EventRequest eventRequest)
          Deletes the given EventRequest
 void deleteEventRequest(List eventRequests)
          Deletes the list of EventRequests
 List exceptionRequests()
          Returns the live immutable list of ExceptionRequests currently queued in the manager.
 List scriptLoadRequests()
          Returns the live immutable list of ScriptLoadRequests currently queued in the manager.
 List stepRequests()
          Returns the live immutable list of StepRequests currently queued in the manager.
 List suspendRequests()
          Returns the live immutable list of SuspendRequests currently queued in the manager.
 List threadEnterRequests()
          Returns the live immutable list of ThreadEnterRequests currently queued in the manager.
 List threadExitRequests()
          Returns the live immutable list of ThreadExitRequests currently queued in the manager.
 List vmDeathRequests()
          Returns the live immutable list of VMDeathRequests currently queued in the manager.
 List vmDisconnectRequests()
          Returns the live immutable list of VMDisconnectRequests currently queued in the manager.
 

Method Detail

createBreakpointRequest

BreakpointRequest createBreakpointRequest(Location location)
Creates a new BreakpointRequest for the given Location.

This method cannot return null

Parameters:
location - the Location to create the breakpoint for, null is not accepted
Returns:
a new BreakpointRequest for the given Location, never null

breakpointRequests

List breakpointRequests()
Returns the live immutable list of BreakpointRequests currently queued in the manager.

This method cannot return null

Returns:
the list of BreakpointRequests or an empty list, never null

createDebuggerStatementRequest

DebuggerStatementRequest createDebuggerStatementRequest()
Creates a new DebuggerStatementRequest.

This method cannot return null

Returns:
a new DebuggerStatementRequest never null

debuggerStatementRequests

List debuggerStatementRequests()
Returns the live immutable list of DebuggerStatementRequests currently queued in the manager.

This method cannot return null

Returns:
the list of DebuggerStatementRequests or an empty list, never null

createExceptionRequest

ExceptionRequest createExceptionRequest()
Creates a new ExceptionRequest.

This method cannot return null

Returns:
a new ExceptionRequest never null

exceptionRequests

List exceptionRequests()
Returns the live immutable list of ExceptionRequests currently queued in the manager.

This method cannot return null

Returns:
the list of ExceptionRequests or an empty list, never null

createScriptLoadRequest

ScriptLoadRequest createScriptLoadRequest()
Creates a new ScriptLoadRequest.

This method cannot return null

Returns:
a new ScriptLoadRequest never null

scriptLoadRequests

List scriptLoadRequests()
Returns the live immutable list of ScriptLoadRequests currently queued in the manager.

This method cannot return null

Returns:
the list of ScriptLoadRequests or an empty list, never null

createStepRequest

StepRequest createStepRequest(ThreadReference thread,
                              int step)
Creates a new StepRequest for the specified ThreadReference of the given kind.

This method cannot return null

Parameters:
thread - the ThreadReference to perform the step in
step - the kind of step
Returns:
a new StepRequest never null
See Also:
for a complete listing of step kinds

stepRequests

List stepRequests()
Returns the live immutable list of StepRequests currently queued in the manager.

This method cannot return null

Returns:
the list of StepRequests or an empty list, never null

createSuspendRequest

SuspendRequest createSuspendRequest(ThreadReference thread)
Creates a new SuspendRequest for the specified ThreadReference.

This method cannot return null

Parameters:
thread - the ThreadReference to perform the suspend on
Returns:
a new SuspendRequest never null

suspendRequests

List suspendRequests()
Returns the live immutable list of SuspendRequests currently queued in the manager.

This method cannot return null

Returns:
the list of SuspendRequests or an empty list, never null

createThreadEnterRequest

ThreadEnterRequest createThreadEnterRequest()
Creates a new ThreadEnterRequest.

This method cannot return null

Returns:
a new ThreadEnterRequest never null

threadEnterRequests

List threadEnterRequests()
Returns the live immutable list of ThreadEnterRequests currently queued in the manager.

This method cannot return null

Returns:
the list of ThreadEnterRequests or an empty list, never null

createThreadExitRequest

ThreadExitRequest createThreadExitRequest()
Creates a new ThreadExitRequest.

This method cannot return null

Returns:
a new ThreadExitRequest never null

threadExitRequests

List threadExitRequests()
Returns the live immutable list of ThreadExitRequests currently queued in the manager.

This method cannot return null

Returns:
the list of ThreadExitRequests or an empty list, never null

deleteEventRequest

void deleteEventRequest(EventRequest eventRequest)
Deletes the given EventRequest

Parameters:
eventRequest - the EventRequest to delete, null is not accepted

deleteEventRequest

void deleteEventRequest(List eventRequests)
Deletes the list of EventRequests

Parameters:
eventRequests - the EventRequests to delete, null is not accepted

createVMDeathRequest

VMDeathRequest createVMDeathRequest()
Creates a new VMDeathRequest.

This method cannot return null

Returns:
a new VMDeathRequest never null

vmDeathRequests

List vmDeathRequests()
Returns the live immutable list of VMDeathRequests currently queued in the manager.

This method cannot return null

Returns:
the list of VMDeathRequests or an empty list, never null

createVMDisconnectRequest

VMDisconnectRequest createVMDisconnectRequest()
Creates a new VMDisconnectRequest.

This method cannot return null

Returns:
a new VMDisconnectRequest never null

vmDisconnectRequests

List vmDisconnectRequests()
Returns the live immutable list of VMDisconnectRequests currently queued in the manager.

This method cannot return null

Returns:
the list of VMDisconnectRequests or an empty list, never null

JavaScript Development Tools
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.