|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BranchInstrumentationStrategy
Specifies that a component uses or depends on a branch instrumentation strategy. Defines methods to specify which types of branches are selected for instrumentation or observation.
Method Summary | |
---|---|
boolean |
areCallBranchesActive()
Reports whether call branches are selected. |
boolean |
areEntryBranchesActive()
Reports whether entry branches are selected. |
boolean |
areIfBranchesActive()
Reports whether if branches are selected. |
boolean |
areSummaryBranchesActive()
Reports whether summary branches are selected. |
boolean |
areSwitchBranchesActive()
Reports whether switch branches are selected. |
boolean |
areThrowsBranchesActive()
Reports whether throws branches are selected. |
int |
getTypeFlags()
Gets the bitmask corresponding to the types of branches currently selected. |
void |
setCallBranchesActive(boolean enable)
Sets whether call branches are selected. |
void |
setEntryBranchesActive(boolean enable)
Sets whether entry branches are selected. |
void |
setIfBranchesActive(boolean enable)
Sets whether if branches are selected. |
void |
setSummaryBranchesActive(boolean enable)
Sets whether summary branches are selected. |
void |
setSwitchBranchesActive(boolean enable)
Sets whether switch branches are selected. |
void |
setThrowsBranchesActive(boolean enable)
Sets whether throws branches are selected. |
Method Detail |
---|
boolean areIfBranchesActive()
if
branches are selected.
true
if if
branches are selected,
false
otherwise.void setIfBranchesActive(boolean enable)
if
branches are selected.
enable
- true
to select if
branches,
false
to ignore.boolean areSwitchBranchesActive()
switch
branches are selected.
true
if switch
branches are selected,
false
otherwise.void setSwitchBranchesActive(boolean enable)
switch
branches are selected.
enable
- true
to select switch
branches,
false
to ignore.boolean areThrowsBranchesActive()
throws
branches are selected.
true
if throws
branches are selected,
false
otherwise.void setThrowsBranchesActive(boolean enable)
throws
branches are selected.
enable
- true
to select throws
branches,
false
to ignore.boolean areCallBranchesActive()
true
if call branches are selected,
false
otherwise.void setCallBranchesActive(boolean enable)
enable
- true
to select call branches,
false
to ignore.boolean areEntryBranchesActive()
true
if entry branches are selected,
false
otherwise.void setEntryBranchesActive(boolean enable)
enable
- true
to select entry branches,
false
to ignore.boolean areSummaryBranchesActive()
true
if summary branches are selected,
false
otherwise.void setSummaryBranchesActive(boolean enable)
enable
- true
to select summary branches,
false
to ignore.int getTypeFlags()
Used for communicating configuration information to certain other components. To be phased out at a future date.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |