Class ThresholdStateChange

java.lang.Object
org.netxms.client.datacollection.ThresholdStateChange

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

    • ThresholdStateChange

      public ThresholdStateChange(NXCPMessage msg)
      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

      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