Class Condition


public class Condition extends GenericObject
Condition object
  • Constructor Details

    • Condition

      public Condition(NXCPMessage msg, NXCSession session)
      Create from NXCP message.
      Parameters:
      msg - NXCP message
      session - owning client session
  • Method Details

    • getObjectClassName

      public String getObjectClassName()
      Description copied from class: AbstractObject
      Get name of NetXMS object's class.
      Overrides:
      getObjectClassName in class AbstractObject
      Returns:
      Name of NetXMS object's class
      See Also:
    • isAllowedOnMap

      public boolean isAllowedOnMap()
      Description copied from class: AbstractObject
      If this method returns true object is allowed to be on custom network map. Default implementation always returns false.
      Overrides:
      isAllowedOnMap in class AbstractObject
      Returns:
      true if object is allowed to be on custom network map
      See Also:
    • getScript

      public String getScript()
      Returns:
      the script
    • getActivationEvent

      public int getActivationEvent()
      Returns:
      the activationEvent
    • getDeactivationEvent

      public int getDeactivationEvent()
      Returns:
      the deactivationEvent
    • getEventSourceObject

      public long getEventSourceObject()
      Returns:
      the eventSourceObject
    • getActiveStatus

      public int getActiveStatus()
      Returns:
      the activeStatus
    • getInactiveStatus

      public int getInactiveStatus()
      Returns:
      the inactiveStatus
    • getDciList

      public List<ConditionDciInfo> getDciList()
      Returns:
      the dciList