Class RuleStatusInfo


  • public class RuleStatusInfo
    extends Object
    This class is used to present status of a rule. The status consists of three parts: The main status, a status detail and a string description.
    Author:
    Yordan Mihaylov - Initial contribution, Kai Kreuzer - Refactored to match ThingStatusInfo implementation
    • Method Detail

      • getStatus

        public RuleStatus getStatus()
        Gets the status itself.
        Returns:
        the status (not null)
      • getStatusDetail

        public RuleStatusDetail getStatusDetail()
        Gets the detail of the status.
        Returns:
        the status detail (not null)
      • getDescription

        public String getDescription()
        Gets the description of the status.
        Returns:
        the description
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object