|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.breakpoint.BreakpointGroup
Class BreakpointGroup acts as a container for breakpoints. In addition to breakpoints, a group may hold other breakpoint groups.
Field Summary | |
protected java.util.List |
breakpointList
List of breakpoints in this group. |
protected java.util.List |
groupList
List of breakpoint groups in this group. |
protected java.lang.String |
groupName
Name of our breakpoint group. |
protected boolean |
isEnabled
True if this breakpoint group is enabled. |
protected BreakpointGroup |
parentGroup
The breakpoint group to which we belong (always non-null). |
Constructor Summary | |
BreakpointGroup()
Creates a BreakpointGroup with the default parameters. |
|
BreakpointGroup(java.lang.String name)
Creates a BreakpointGroup with the default parameters. |
Method Summary | |
void |
addBreakpoint(Breakpoint bp)
Adds the given breakpoint to this breakpoint group. |
void |
addBreakpointGroup(BreakpointGroup bg)
Adds the given breakpoint group to this breakpoint group. |
int |
breakpointCount()
Returns a count of the breakpoints in this group, including the counts from this group's subgroups. |
int |
breakpointCount(boolean recurse)
Returns a count of the breakpoints in this group. |
java.util.Iterator |
breakpoints()
Returns an iterator over the set of breakpoints in this group (not including subgroups). |
java.util.Iterator |
breakpoints(boolean recurse)
Returns an iterator over the set of breakpoints in this group. |
java.lang.String |
getName()
Returns the name of this breakpoint group. |
BreakpointGroup |
getParent()
Gets the breakpoint group that is the parent of this group. |
Session |
getSession()
Gets the Session that owns this group. |
int |
groupCount()
Returns a count of the breakpoint groups in this group, including the counts from this group's subgroups. |
int |
groupCount(boolean recurse)
Returns a count of the groups in this group. |
java.util.Iterator |
groups()
Returns an iterator over the set of groups in this group (not including subgroups). |
java.util.Iterator |
groups(boolean recurse)
Returns an iterator over the set of groups in this group. |
boolean |
isEnabled()
Returns true if this breakpoint group and all of its ancestors are enabled. |
void |
removeBreakpoint(Breakpoint bp)
Removes the given breakpoint from this breakpoint group. |
void |
removeBreakpointGroup(BreakpointGroup bg)
Removes the given breakpoint group from this breakpoint group. |
void |
reset()
Resets all the breakpoints in this group. |
void |
setEnabled(boolean enabled)
Enables or disables this breakpoint group, according to the parameter. |
void |
setName(java.lang.String name)
Changes the name of this breakpoint group to that which is given. |
void |
setParent(BreakpointGroup parent)
Sets the breakpoint group that is to be the parent of this group. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String groupName
protected boolean isEnabled
protected java.util.List groupList
protected java.util.List breakpointList
protected BreakpointGroup parentGroup
Constructor Detail |
public BreakpointGroup()
public BreakpointGroup(java.lang.String name)
name
- group name.Method Detail |
public void addBreakpoint(Breakpoint bp)
bp
- breakpoint to add to this group.public void addBreakpointGroup(BreakpointGroup bg)
bg
- breakpoint group to add to this group.public int breakpointCount()
breakpointCount(boolean)
public int breakpointCount(boolean recurse)
recurse
- true to include subgroup counts, false to ignore
this group's subgroups.breakpointCount()
public java.util.Iterator breakpoints()
public java.util.Iterator breakpoints(boolean recurse)
recurse
- true to recurse through all the groups.public java.lang.String getName()
public BreakpointGroup getParent()
public Session getSession()
public int groupCount()
public int groupCount(boolean recurse)
recurse
- true to include subgroup counts, false to ignore
this group's subgroups.groupCount()
public java.util.Iterator groups()
public java.util.Iterator groups(boolean recurse)
recurse
- true to iterate over all subgroups.public boolean isEnabled()
public void removeBreakpoint(Breakpoint bp)
bp
- breakpoint to remove from this group.public void removeBreakpointGroup(BreakpointGroup bg)
bg
- breakpoint group to remove from this group.public void reset()
public void setEnabled(boolean enabled)
enabled
- true if breakpoint should be enabled, false
if breakpoint should be disabled.public void setName(java.lang.String name)
name
- new name for this breakpoint group.public void setParent(BreakpointGroup parent)
parent
- new parent of this group.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |