Package org.netxms.client.datacollection
Class ThresholdStateChange
- java.lang.Object
-
- org.netxms.client.datacollection.ThresholdStateChange
-
public class ThresholdStateChange extends Object
Information about threshold state change
-
-
Constructor Summary
Constructors Constructor Description ThresholdStateChange(org.netxms.base.NXCPMessage msg)Create state change object from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDciId()Get DCI ID.StringgetInstance()Get instance for table DCI threshold (will return null for single value DCI).longgetObjectId()Get object ID.longgetThresholdId()Get threshold ID.booleanisActivated()Check if threshold was activated.
-
-
-
Method Detail
-
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
public String 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
-
-