|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kohsuke.youdebug.BundledEventRequest<E> org.kohsuke.youdebug.BundledWatchpointRequest
public class BundledWatchpointRequest
Multiple WatchpointRequest
s bundled to behave as one WatchpointRequest
.
Field Summary |
---|
Fields inherited from class org.kohsuke.youdebug.BundledEventRequest |
---|
requests |
Fields inherited from interface com.sun.jdi.request.EventRequest |
---|
SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE |
Constructor Summary | |
---|---|
BundledWatchpointRequest(com.sun.jdi.request.ClassPrepareRequest req,
List requests)
|
Method Summary | |
---|---|
void |
addClassExclusionFilter(String classPattern)
Restricts the events generated by this request to those whose location is in a class whose name does not match this restricted regular expression. |
void |
addClassFilter(com.sun.jdi.ReferenceType refType)
Restricts the events generated by this request to those whose location is in the given reference type or any of its subtypes. |
void |
addClassFilter(String classPattern)
Restricts the events generated by this request to those whose location is in a class whose name matches a restricted regular expression. |
void |
addInstanceFilter(com.sun.jdi.ObjectReference instance)
Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified. |
void |
addThreadFilter(com.sun.jdi.ThreadReference thread)
Restricts the events generated by this request to those in the given thread. |
void |
delete()
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String name)
|
Object |
invokeMethod(String name,
Object args)
|
void |
setEnabled(boolean val)
|
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
Methods inherited from class org.kohsuke.youdebug.BundledEventRequest |
---|
addCountFilter, disable, enable, getProperty, isEnabled, one, putProperty, setSuspendPolicy, suspendPolicy, virtualMachine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.jdi.Mirror |
---|
toString |
Constructor Detail |
---|
public BundledWatchpointRequest(com.sun.jdi.request.ClassPrepareRequest req, List requests)
Method Detail |
---|
public void addThreadFilter(com.sun.jdi.ThreadReference thread)
thread
- the thread to filter on.
com.sun.jdi.request.InvalidRequestStateException
- if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.public void addClassFilter(com.sun.jdi.ReferenceType refType)
refType
- the reference type to filter on.
com.sun.jdi.request.InvalidRequestStateException
- if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.public void addClassFilter(String classPattern)
classPattern
- the pattern String to filter for.
com.sun.jdi.request.InvalidRequestStateException
- if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.public void addClassExclusionFilter(String classPattern)
classPattern
- the pattern String to filter against.
com.sun.jdi.request.InvalidRequestStateException
- if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.public void addInstanceFilter(com.sun.jdi.ObjectReference instance)
Not all targets support this operation.
Use VirtualMachine.canUseInstanceFilters()
to determine if the operation is supported.
instance
- the object which must be the current instance
in order to pass this filter.
UnsupportedOperationException
- if
the target virtual machine does not support this
operation.
com.sun.jdi.request.InvalidRequestStateException
- if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String name)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String name, Object value)
setProperty
in interface groovy.lang.GroovyObject
public void setEnabled(boolean val)
setEnabled
in class BundledEventRequest<E extends com.sun.jdi.request.EventRequest>
public void delete()
delete
in class BundledEventRequest<E extends com.sun.jdi.request.EventRequest>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |