Package org.netxms.client.datacollection
Class ThresholdStateChange
java.lang.Object
org.netxms.client.datacollection.ThresholdStateChange
Information about threshold state change
-
Constructor Summary
ConstructorDescriptionCreate state change object from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionlong
getDciId()
Get DCI ID.Get instance for table DCI threshold (will return null for single value DCI).long
Get object ID.long
Get threshold ID.boolean
Check if threshold was activated.
-
Constructor Details
-
ThresholdStateChange
Create state change object from NXCP message.- Parameters:
msg
- NXCP message
-
-
Method Details
-
getObjectId
public long getObjectId()Get object ID.- Returns:
- object ID
-
getDciId
public long getDciId()Get DCI ID.- Returns:
- DCI ID
-
getThresholdId
public long getThresholdId()Get threshold ID.- Returns:
- threshold ID
-
getInstance
Get instance for table DCI threshold (will return null for single value DCI).- Returns:
- instance
-
isActivated
public boolean isActivated()Check if threshold was activated.- Returns:
- true if threshold was activated
-