nl.codecentric.jenkins.appd.rest.types
Class MetricValues

java.lang.Object
  extended by nl.codecentric.jenkins.appd.rest.types.MetricValues

public class MetricValues
extends Object

POJO object for unmarshalling JSON data from the AppDynamics REST interface. Maps to the following structure (part of MetricData: "current": 19, "max": 54104, "min": 0, "startTimeInMillis": 1356877200000, "value": 6 ==> The 'value' field contains the actual value requested.


Constructor Summary
MetricValues()
           
 
Method Summary
 Integer getCurrent()
           
 String getFormattedTime()
           
 Integer getMax()
           
 Integer getMin()
           
 Long getStartTimeInMillis()
           
 Integer getValue()
           
 void setCurrent(Integer current)
           
 void setMax(Integer max)
           
 void setMin(Integer min)
           
 void setStartTimeInMillis(Long startTimeInMillis)
           
 void setValue(Integer value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricValues

public MetricValues()
Method Detail

getCurrent

public Integer getCurrent()

setCurrent

public void setCurrent(Integer current)

getMax

public Integer getMax()

setMax

public void setMax(Integer max)

getMin

public Integer getMin()

setMin

public void setMin(Integer min)

getStartTimeInMillis

public Long getStartTimeInMillis()

setStartTimeInMillis

public void setStartTimeInMillis(Long startTimeInMillis)

getFormattedTime

public String getFormattedTime()

getValue

public Integer getValue()

setValue

public void setValue(Integer value)


Copyright © 2004-2013. All Rights Reserved.