|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.sposh.debugger.BreakpointManager
public class BreakpointManager
Simple manager that is managing class of MethodBreakpoint that share
common properties(same method and breakpoint group). It can easily add it,
remove previously created instances and add or remove listeners.
| Field Summary | |
|---|---|
static String |
LAP_ENGINE_CLASS
fqn of posh engine class which has the all important evaluation method |
static String |
LAP_METHOD_NAME
name of evaluation method in the WatchLapAction#ENGINE_CLASS |
static String |
LAP_METHOD_SIGNATURE
signature of evaluation method |
| Method Summary | |
|---|---|
void |
addListener(org.netbeans.api.debugger.jpda.event.JPDABreakpointListener listener)
Addd listener to the breakpoint of the manager. |
static BreakpointManager |
createLapEvaluation(String breakpointGroup)
Create a manager at the entry into the LAP_ENGINE_CLASS LAP_METHOD_NAME
that has specified group. |
org.netbeans.api.debugger.jpda.MethodBreakpoint |
getBreakpoint()
Each manager must have some breakpoint into which it adds listeners ect. |
boolean |
isQualified(org.netbeans.api.debugger.jpda.MethodBreakpoint mbp)
Has passed breakpoint properties specified by the manager? |
int |
purge()
Remove all breakpoints that have properties specified by this manager. |
void |
removeListener(org.netbeans.api.debugger.jpda.event.JPDABreakpointListener listener)
Remove listener from the breakpoint of the manager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LAP_ENGINE_CLASS
public static final String LAP_METHOD_NAME
WatchLapAction#ENGINE_CLASS
public static final String LAP_METHOD_SIGNATURE
| Method Detail |
|---|
public static BreakpointManager createLapEvaluation(String breakpointGroup)
LAP_ENGINE_CLASS LAP_METHOD_NAME
that has specified group.
breakpointGroup - Breakpoint group of the manager.
public org.netbeans.api.debugger.jpda.MethodBreakpoint getBreakpoint()
public void addListener(org.netbeans.api.debugger.jpda.event.JPDABreakpointListener listener)
listener - public void removeListener(org.netbeans.api.debugger.jpda.event.JPDABreakpointListener listener)
listener - public boolean isQualified(org.netbeans.api.debugger.jpda.MethodBreakpoint mbp)
mbp - tested breakpoint
public int purge()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||