Class Condition

    • Constructor Detail

      • Condition

        public Condition​(org.netxms.base.NXCPMessage msg,
                         NXCSession session)
        Parameters:
        msg -
        session -
    • Method Detail

      • 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
      • 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