Package org.netxms.client.datacollection
Class ThresholdStateChange
java.lang.Object
org.netxms.client.datacollection.ThresholdStateChange
Information about threshold state change
-
Constructor Summary
ConstructorsConstructorDescriptionCreate state change object from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionlonggetDciId()Get DCI ID.Get instance for table DCI threshold (will return null for single value DCI).longGet object ID.longGet threshold ID.booleanCheck 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
-