Groovy Documentation

com.ace.mws.reports
[Groovy] Class Datapoint

java.lang.Object
  com.ace.mws.reports.Datapoint

class Datapoint

A metric that measures system state over a specified period of time. For example, a datapoint may contain data on CPU utilization by specific users. A datapoint is generated by the consolidation of zero or more Samples. It could be said that a datapoint represents a smoothing of samples.

Authors:
bsaville


Field Summary
private Map data

(Map of String => String) The actual consolidated sample data.

private Date endDate

The ending date that the datapoint covers.

private Date firstSampleDate

The date of the first sample consolidated in this datapoint.

private Long id

private Date lastSampleDate

The date of the last sample consolidated in this datapoint.

private static long serialVersionUID

private Date startDate

The beginning date that the datapoint covers.

 
Constructor Summary
Datapoint()

 
Method Summary
Map getData()

(Map of String => String) The actual consolidated sample data.

Date getEndDate()

The ending date that the datapoint covers.

Date getFirstSampleDate()

The date of the first sample consolidated in this datapoint.

Long getId()

Date getLastSampleDate()

The date of the last sample consolidated in this datapoint.

Date getStartDate()

The beginning date that the datapoint covers.

void setData(Map data)

(Map of String => String) The actual consolidated sample data.

void setEndDate(Date endDate)

The ending date that the datapoint covers.

void setFirstSampleDate(Date firstSampleDate)

The date of the first sample consolidated in this datapoint.

void setId(Long id)

void setLastSampleDate(Date lastSampleDate)

The date of the last sample consolidated in this datapoint.

void setStartDate(Date startDate)

The beginning date that the datapoint covers.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

data

private Map data
(Map of String => String) The actual consolidated sample data. This property may be 'null' if the Report#minimumSampleSize#minimumSampleSize was not met when consolidating the datapoint.
See Also:
Map


endDate

private Date endDate
The ending date that the datapoint covers.


firstSampleDate

private Date firstSampleDate
The date of the first sample consolidated in this datapoint.
See Also:
Sample#timestamp#timestamp#timestamp


id

private Long id


lastSampleDate

private Date lastSampleDate
The date of the last sample consolidated in this datapoint.
See Also:
Sample#timestamp#timestamp#timestamp


serialVersionUID

private static final long serialVersionUID


startDate

private Date startDate
The beginning date that the datapoint covers.


 
Constructor Detail

Datapoint

Datapoint()


 
Method Detail

getData

Map getData()
(Map of String => String) The actual consolidated sample data. This property may be 'null' if the Report#minimumSampleSize#minimumSampleSize was not met when consolidating the datapoint.
See Also:
Map


getEndDate

Date getEndDate()
The ending date that the datapoint covers.


getFirstSampleDate

Date getFirstSampleDate()
The date of the first sample consolidated in this datapoint.
See Also:
Sample#timestamp#timestamp#timestamp


getId

Long getId()


getLastSampleDate

Date getLastSampleDate()
The date of the last sample consolidated in this datapoint.
See Also:
Sample#timestamp#timestamp#timestamp


getStartDate

Date getStartDate()
The beginning date that the datapoint covers.


setData

void setData(Map data)
(Map of String => String) The actual consolidated sample data. This property may be 'null' if the Report#minimumSampleSize#minimumSampleSize was not met when consolidating the datapoint.
See Also:
Map


setEndDate

void setEndDate(Date endDate)
The ending date that the datapoint covers.


setFirstSampleDate

void setFirstSampleDate(Date firstSampleDate)
The date of the first sample consolidated in this datapoint.
See Also:
Sample#timestamp#timestamp#timestamp


setId

void setId(Long id)


setLastSampleDate

void setLastSampleDate(Date lastSampleDate)
The date of the last sample consolidated in this datapoint.
See Also:
Sample#timestamp#timestamp#timestamp


setStartDate

void setStartDate(Date startDate)
The beginning date that the datapoint covers.


toString

String toString()


 

Groovy Documentation