|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.analyze.statistics.BladeFilterImpl
public class BladeFilterImpl
Instances of this class filter blade descriptors according to what you want.. this implementation aims to filter blades by event type (shorcut of class name) or by blade identifier.
Field Summary |
---|
Constructor Summary | |
---|---|
BladeFilterImpl()
Creates a new filter for blades with any filtering, which means all blades will be retained by this new filter. |
Method Summary | |
---|---|
boolean |
accept(BladeDescriptor desc)
Filters blade descriptors according to the blade id and event type. |
void |
addEventFilter(java.lang.String eventTypeLabel)
add a new blade filter for blade descriptors with the given event type |
void |
addIdFilter(java.lang.String bladeId)
add a new blade filter for blade descriptors with the given id. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BladeFilterImpl()
Method Detail |
---|
public void addEventFilter(java.lang.String eventTypeLabel)
eventTypeLabel
- only blades with the given event will be retained by this
filter. If null, all blades will be retained.public void addIdFilter(java.lang.String bladeId)
bladeId
- only blades with the given id will be retained by this filter.
If null, all blades will be retained.public boolean accept(BladeDescriptor desc)
accept
in interface BladeFilter
desc
- the blade descriptor or accept or reject
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |