Package org.netxms.client.datacollection
Class ThresholdStateChange
java.lang.Object
org.netxms.client.datacollection.ThresholdStateChange
Information about threshold state change
- 
Constructor SummaryConstructorsConstructorDescriptionCreate state change object from NXCP message.
- 
Method SummaryModifier 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- 
ThresholdStateChangeCreate state change object from NXCP message.- Parameters:
- msg- NXCP message
 
 
- 
- 
Method Details- 
getObjectIdpublic long getObjectId()Get object ID.- Returns:
- object ID
 
- 
getDciIdpublic long getDciId()Get DCI ID.- Returns:
- DCI ID
 
- 
getThresholdIdpublic long getThresholdId()Get threshold ID.- Returns:
- threshold ID
 
- 
getInstanceGet instance for table DCI threshold (will return null for single value DCI).- Returns:
- instance
 
- 
isActivatedpublic boolean isActivated()Check if threshold was activated.- Returns:
- true if threshold was activated
 
 
-