org.ow2.jasmine.probe
Class JasmineIndicator

java.lang.Object
  extended by org.ow2.jasmine.probe.JasmineObject
      extended by org.ow2.jasmine.probe.JasmineIndicator

public class JasmineIndicator
extends JasmineObject

A JasmineIndicator defines how to obtain the value to be monitored

Author:
durieuxp

Field Summary
 
Fields inherited from class org.ow2.jasmine.probe.JasmineObject
name, properties, type
 
Constructor Summary
JasmineIndicator()
          Default constructor
 
Method Summary
 boolean equals(Object obj)
          Compare the current JasmineIndicator with a given one end return true only if name, type, scale, sources and properties are identical.
 int getScale()
           
 List<String> getSources()
           
 void setScale(int scale)
           
 void setSources(List<String> sources)
           
 String toLine()
          Build a single line description of this object.
 String toString()
          Build a full description of this object.
 
Methods inherited from class org.ow2.jasmine.probe.JasmineObject
getName, getProperties, getType, setName, setProperties, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JasmineIndicator

public JasmineIndicator()
Default constructor

Method Detail

getScale

public int getScale()

setScale

public void setScale(int scale)

getSources

public List<String> getSources()

setSources

public void setSources(List<String> sources)

toString

public String toString()
Build a full description of this object.

Overrides:
toString in class Object
Returns:

toLine

public String toLine()
Build a single line description of this object.

Specified by:
toLine in class JasmineObject
Returns:

equals

public boolean equals(Object obj)
Compare the current JasmineIndicator with a given one end return true only if name, type, scale, sources and properties are identical.

Overrides:
equals in class Object
Parameters:
obj - the JasmineIndicator to compare this object with
Returns:
true if name, type, scale, sources and properties are identical, false otherwise.


Copyright © 2013 OW2 Consortium. All Rights Reserved.