com.jamonapi
Class JAMonDetailValue

java.lang.Object
  extended by com.jamonapi.JAMonDetailValue
All Implemented Interfaces:
ToArray

public final class JAMonDetailValue
extends java.lang.Object
implements ToArray

Class used to add the label, value and time invoked for the associated monitor. Used in the jamonBufferListener class.

Author:
steve souza

Constructor Summary
JAMonDetailValue(MonKey key, double value, double active, long time)
           
 
Method Summary
 boolean isKeyToString()
           
 void setKeyToString(boolean keyToString)
           
 java.lang.Object[] toArray()
          Returns label, value, time as an Object[] of 3 values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAMonDetailValue

public JAMonDetailValue(MonKey key,
                        double value,
                        double active,
                        long time)
Method Detail

toArray

public java.lang.Object[] toArray()
Returns label, value, time as an Object[] of 3 values.

Specified by:
toArray in interface ToArray

setKeyToString

public void setKeyToString(boolean keyToString)

isKeyToString

public boolean isKeyToString()