Package org.eso.ias.plugin.publisher
Class MonitorPointDataToBuffer
java.lang.Object
org.eso.ias.plugin.publisher.MonitorPointDataToBuffer
- Direct Known Subclasses:
MonitorPointData
A java POJO representing a monitor point or alarm
to be sent to the IAS in a buffered way.
A MonitorPointDataToBuffer will be sent encapsulated
in a BufferedMonitoredSystemData i.e. for buffered publishers.
- Author:
- acaproni
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe point in time when the input(s) have been elaborated against the filter to produce the value that must finally be sent to the IAS coreprotected StringThe identifier of the monitor pointprotected final SimpleDateFormatISO 8601 date formatterprotected StringThe operational modeprotected StringThe point in time when the value has been provided by the monitored system.protected StringThe validityprotected StringThe value of the monitor point after passing the filter -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getValue()inthashCode()voidsetFilteredTime(String filteredTime) Set the filtered timestampvoidSet the ID of the monitor pointvoidsetOperationalMode(String operationalMode) voidsetSampleTime(String sampleTime) Set the time of the samplevoidsetValidity(String validity) param validity the validityvoidSet the value of th emonitor pointtoString()
-
Field Details
-
sampleTime
The point in time when the value has been provided by the monitored system.The meaning of this timestamp depends on the applied filter. If the filters return the last sampled value like
NoneFilterthensampleTimeis the point in time when such sample has been provided by the remote system. But what does it represent if the filter returns a the average of the samples read in a time interval? -
filteredTime
The point in time when the input(s) have been elaborated against the filter to produce the value that must finally be sent to the IAS core -
value
The value of the monitor point after passing the filter -
id
The identifier of the monitor point -
operationalMode
The operational mode- See Also:
-
validity
The validity- See Also:
-
iso8601dateFormat
ISO 8601 date formatter
-
-
Constructor Details
-
MonitorPointDataToBuffer
public MonitorPointDataToBuffer()Empty constructor -
MonitorPointDataToBuffer
Constructor- Parameters:
value- The filtered value produced by the monitored system
-
-
Method Details
-
getSampleTime
- Returns:
- the sampleTime
-
setSampleTime
Set the time of the sample- Parameters:
sampleTime- the sampleTime to set
-
getFilteredTime
- Returns:
- the filteredTime
-
setFilteredTime
Set the filtered timestamp- Parameters:
filteredTime- the filteredTime to set
-
getValue
- Returns:
- the value
-
setValue
Set the value of th emonitor point- Parameters:
value- the value to set
-
getId
- Returns:
- the id of the monitor point
-
setId
Set the ID of the monitor point- Parameters:
id- the id to set
-
toString
-
hashCode
public int hashCode() -
equals
-
getOperationalMode
- Returns:
- the operationalMode
-
setOperationalMode
- Parameters:
operationalMode- the operationalMode to set
-
getValidity
- Returns:
- the validity
-
setValidity
param validity the validity
-