Class ThresholdStateChange


  • public class ThresholdStateChange
    extends Object
    Information about threshold state change
    • Constructor Detail

      • ThresholdStateChange

        public ThresholdStateChange​(org.netxms.base.NXCPMessage msg)
        Create state change object from NXCP message
    • 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