org.ow2.jasmine.probe.collectors.lewys.internal
Class LewysCollectorService

java.lang.Object
  extended by org.ow2.jasmine.probe.collectors.JCollectorService
      extended by org.ow2.jasmine.probe.collectors.lewys.internal.LewysCollectorService
All Implemented Interfaces:
JasmineCollectorService

public class LewysCollectorService
extends JCollectorService

This CollectorService implements the "lewys" collector. This is just a wrapper on a LeWYS probe. It should be able to treat any lewys command, and any resource.

Author:
durieuxp

Field Summary
static int LINUX_2_4
           
static int LINUX_2_6
           
static String LONG_DESC
           
static int MAC_OS_X
           
protected  int osType
          Supported OS
static String PROP_CMD
          Properties
static String PROP_CMD_DESC
           
static String PROP_RESOURCES
           
static String PROP_RESOURCES_DESC
           
static String SHORT_DESC
          Description
static String SOURCE_DESC
          Sources
static int SOURCE_MAX
           
static int SOURCE_MIN
           
static int WINDOWS
           
 
Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService
collectorInfo, logger, properties
 
Constructor Summary
LewysCollectorService()
           
 
Method Summary
 JasmineCollector getCollector(JasmineIndicator indicator, JasmineProbe probe)
          Create a Collector for this JasmineIndicator
 void start()
           
 void stop()
           
 
Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService
addCollector, getCollectorInfo, getDependantIndicators, getPropertiesInfo, getType, removeCollectors
 
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_CMD

public static final String PROP_CMD
Properties

See Also:
Constant Field Values

PROP_CMD_DESC

public static final String PROP_CMD_DESC
See Also:
Constant Field Values

PROP_RESOURCES

public static final String PROP_RESOURCES
See Also:
Constant Field Values

PROP_RESOURCES_DESC

public static final String PROP_RESOURCES_DESC
See Also:
Constant Field Values

osType

protected int osType
Supported OS


LINUX_2_4

public static final int LINUX_2_4
See Also:
Constant Field Values

LINUX_2_6

public static final int LINUX_2_6
See Also:
Constant Field Values

WINDOWS

public static final int WINDOWS
See Also:
Constant Field Values

MAC_OS_X

public static final int MAC_OS_X
See Also:
Constant Field Values
Constructor Detail

LewysCollectorService

public LewysCollectorService()
Method Detail

start

public void start()

stop

public void stop()

getCollector

public JasmineCollector getCollector(JasmineIndicator indicator,
                                     JasmineProbe probe)
                              throws JasmineCollectorException
Create a Collector for this JasmineIndicator

Specified by:
getCollector in interface JasmineCollectorService
Specified by:
getCollector in class JCollectorService
Parameters:
indicator -
probe -
Returns:
the Collector
Throws:
JasmineCollectorException - operation failed


Copyright © 2012 OW2 Consortium. All Rights Reserved.