PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi.manager
Interface IPDIEventRequestManager

All Superinterfaces:
IPDIManager, IPDISessionObject, IPDISet

public interface IPDIEventRequestManager
extends IPDIManager

Manages a number of EventRequests for a target debugger.


Method Summary
 void addEventRequest(IPDIEventRequest request)
          Adds an event request
 boolean canExecute(IPDIEventRequest request)
          Determines whether this handler can execute on the elements specified in the given request by reporting enabled state to the request.
 void deleteAllEventRequests()
          Deletes all event requests
 void deleteEventRequest(IPDIEventRequest request)
          Deletes an event request
 void execute(IPDIEventRequest request)
          Executes this command on the elements specified in the given request reporting status to the given request and returns whether this handler should remain enabled while the command is executing.
 void flushEventRequests()
          Flush any pending requests.
 IPDIEventRequest[] getRequests()
          Returns an array of stored requests
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.manager.IPDIManager
isAutoUpdate, setAutoUpdate, shutdown, update
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 

Method Detail

flushEventRequests

void flushEventRequests()
Flush any pending requests.

Since:
5.0

addEventRequest

void addEventRequest(IPDIEventRequest request)
                     throws PDIException
Adds an event request

Parameters:
request - event request is being added
Throws:
PDIException - on failure

canExecute

boolean canExecute(IPDIEventRequest request)
Determines whether this handler can execute on the elements specified in the given request by reporting enabled state to the request.

Parameters:
request - specifies elements to operate on and collects enabled state
Returns:
whether this handler can execute this request

deleteAllEventRequests

void deleteAllEventRequests()
                            throws PDIException
Deletes all event requests

Throws:
PDIException - on failure

deleteEventRequest

void deleteEventRequest(IPDIEventRequest request)
                        throws PDIException
Deletes an event request

Parameters:
request - event request is being removed
Throws:
PDIException - on failure

execute

void execute(IPDIEventRequest request)
             throws PDIException
Executes this command on the elements specified in the given request reporting status to the given request and returns whether this handler should remain enabled while the command is executing.

Parameters:
request - specifies elements to operate on and collects execution status
Throws:
PDIException - on failure

getRequests

IPDIEventRequest[] getRequests()
Returns an array of stored requests

Returns:
an array of stored requests

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.