public interface RecorderElementFactory
| Modifier and Type | Method and Description |
|---|---|
RecorderElement |
create(MonitoringGroupConfiguration conf,
boolean forceDefaultInstances)
Creates a recorder element.
|
boolean |
isOk(RecorderElement element,
MonitoringGroupConfiguration conf)
Returns if the given
element is adequate (e.g. supports
debugging) or if a new instance must be created and information must be
taken over. |
RecorderElement create(MonitoringGroupConfiguration conf, boolean forceDefaultInstances)
conf - the configuration of the recorder elementforceDefaultInstances - if true do only create the
default instances, otherways also those collecting contributing
variants can be createdboolean isOk(RecorderElement element, MonitoringGroupConfiguration conf)
element is adequate (e.g. supports
debugging) or if a new instance must be created and information must be
taken over. This method is relevant, as instances may be created before
the annotated class is loaded, e.g. during automated variant detection.element - the element to be testedconf - the configuration associated with elementtrue if the instance is adequate,
false if element must be revised