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
Modifier and TypeFieldDescriptionprotected String
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 coreprotected String
The identifier of the monitor pointprotected final SimpleDateFormat
ISO 8601 date formatterprotected String
The operational modeprotected String
The point in time when the value has been provided by the monitored system.protected String
The validityprotected String
The value of the monitor point after passing the filter -
Constructor Summary
ConstructorDescriptionEmpty constructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getValue()
int
hashCode()
void
setFilteredTime
(String filteredTime) Set the filtered timestampvoid
Set the ID of the monitor pointvoid
setOperationalMode
(String operationalMode) void
setSampleTime
(String sampleTime) Set the time of the samplevoid
setValidity
(String validity) param validity the validityvoid
Set 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
NoneFilter
thensampleTime
is 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
-