org.ow2.jasmine.probe.collectors.constant
Class ConstantCollectorService

java.lang.Object
  extended by org.ow2.jasmine.probe.collectors.JCollectorService
      extended by org.ow2.jasmine.probe.collectors.constant.ConstantCollectorService
All Implemented Interfaces:
org.ow2.jasmine.probe.collector.JasmineCollectorService

public class ConstantCollectorService
extends org.ow2.jasmine.probe.collectors.JCollectorService


Field Summary
static String LONG_DESC
           
static String PROP_TYPE
          Properties description
static String PROP_TYPE_DESC
           
static String PROP_VALUE
           
static String PROP_VALUE_DESC
           
static String SHORT_DESC
          Description
static String SOURCE_DESC
          Sources
static int SOURCE_MAX
           
static int SOURCE_MIN
           
 
Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService
collectorInfo, logger, properties
 
Constructor Summary
ConstantCollectorService()
           
 
Method Summary
 org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator, org.ow2.jasmine.probe.JasmineProbe probe)
          Create a Collector for this JasmineIndicator.
 void start()
           
 void stop()
           
 
Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService
addCollector, getCollector, getCollectorInfo, getDependantIndicators, getDependantTargets, getPropertiesInfo, getType, removeCollectors, removeTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHORT_DESC

public static final String SHORT_DESC
Description

See Also:
Constant Field Values

LONG_DESC

public static final String LONG_DESC
See Also:
Constant Field Values

SOURCE_DESC

public static final String SOURCE_DESC
Sources

See Also:
Constant Field Values

SOURCE_MIN

public static final int SOURCE_MIN
See Also:
Constant Field Values

SOURCE_MAX

public static final int SOURCE_MAX
See Also:
Constant Field Values

PROP_TYPE

public static final String PROP_TYPE
Properties description

See Also:
Constant Field Values

PROP_TYPE_DESC

public static final String PROP_TYPE_DESC
See Also:
Constant Field Values

PROP_VALUE

public static final String PROP_VALUE
See Also:
Constant Field Values

PROP_VALUE_DESC

public static final String PROP_VALUE_DESC
See Also:
Constant Field Values
Constructor Detail

ConstantCollectorService

public ConstantCollectorService()
Method Detail

start

public void start()

stop

public void stop()

getCollector

public 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
Create a Collector for this JasmineIndicator. Called by the JasmineProbeManager when first starting a probe (at the probe creation).

Specified by:
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorService
Specified by:
getCollector in class org.ow2.jasmine.probe.collectors.JCollectorService
Parameters:
indicator - contains the indicator's parameters.
probe - the probe that gets the collector
Returns:
the Collector
Throws:
org.ow2.jasmine.probe.collector.JasmineCollectorException - operation failed


Copyright © 2013 OW2 Consortium. All Rights Reserved.