|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.collectors.JCollectorService
public abstract class JCollectorService
Base class for Collector Service. It allows the management of the collectors of a given type corresponding to all the indicators of that type. It allows to find out the properties that must be defined in order to create an indicator of that type.
| Field Summary | |
|---|---|
protected org.ow2.jasmine.probe.JasmineCollectorInfo |
collectorInfo
CollectorInfo unique object |
protected org.ow2.util.log.Log |
logger
Logger. |
protected List<org.ow2.jasmine.probe.JasminePropertyInfo> |
properties
Info about indicator Properties. |
| Constructor Summary | |
|---|---|
JCollectorService()
|
|
| Method Summary | |
|---|---|
protected void |
addCollector(String name,
JCollector coll)
Add a collector instance to the list of collectors corresponding to a given indicator. |
abstract org.ow2.jasmine.probe.collector.JasmineCollector |
getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
org.ow2.jasmine.probe.JasmineProbe probe)
Get the Collector corresponding to a JasmineIndicator. |
protected JCollector |
getCollector(String name,
String probeId)
Find a collector corresponding to a given indicator and probe |
org.ow2.jasmine.probe.JasmineCollectorInfo |
getCollectorInfo()
Get the Information about the Collector |
List<String> |
getDependantIndicators(org.ow2.jasmine.probe.JasmineIndicator indic)
Returns the List of indicators used by this indicator. |
List<String> |
getDependantTargets(org.ow2.jasmine.probe.JasmineIndicator indic)
Returns the List of targets used by this indicator. |
List<org.ow2.jasmine.probe.JasminePropertyInfo> |
getPropertiesInfo()
Deprecated. |
String |
getType()
|
void |
removeCollectors(String name,
String probeId)
Remove all the collectors (if name and probeId are both null) - called when the service stopped. |
void |
removeTarget(String name)
Remove a target. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.ow2.util.log.Log logger
protected List<org.ow2.jasmine.probe.JasminePropertyInfo> properties
protected org.ow2.jasmine.probe.JasmineCollectorInfo collectorInfo
| Constructor Detail |
|---|
public JCollectorService()
| Method Detail |
|---|
public abstract org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
org.ow2.jasmine.probe.JasmineProbe probe)
throws org.ow2.jasmine.probe.collector.JasmineCollectorException
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorServiceindicator - the given indicator's definitionprobe - the definition of the probe in which the indicator is used
org.ow2.jasmine.probe.collector.JasmineCollectorException
public void removeCollectors(String name,
String probeId)
removeCollectors in interface org.ow2.jasmine.probe.collector.JasmineCollectorServicename - Indicator nameprobeId - Probe identifierpublic void removeTarget(String name)
removeTarget in interface org.ow2.jasmine.probe.collector.JasmineCollectorServicename - the name of the target to remove
protected void addCollector(String name,
JCollector coll)
name - indicator namecoll - collector instance
protected JCollector getCollector(String name,
String probeId)
name - indicator nameprobeId - probe id
public List<org.ow2.jasmine.probe.JasminePropertyInfo> getPropertiesInfo()
getPropertiesInfo in interface org.ow2.jasmine.probe.collector.JasmineCollectorServicepublic org.ow2.jasmine.probe.JasmineCollectorInfo getCollectorInfo()
getCollectorInfo in interface org.ow2.jasmine.probe.collector.JasmineCollectorServicepublic List<String> getDependantIndicators(org.ow2.jasmine.probe.JasmineIndicator indic)
getDependantIndicators in interface org.ow2.jasmine.probe.collector.JasmineCollectorServiceindic - JasmineIndicator
public List<String> getDependantTargets(org.ow2.jasmine.probe.JasmineIndicator indic)
getDependantTargets in interface org.ow2.jasmine.probe.collector.JasmineCollectorServiceindic - JasmineIndicator
public String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||