Class Status


  • public final class Status
    extends Object
    Identify the status of the most severe insight generated by the detector.
    • Constructor Detail

      • Status

        public Status()
    • Method Detail

      • message

        public String message()
        Get the message property: Descriptive message.
        Returns:
        the message value.
      • withMessage

        public Status withMessage​(String message)
        Set the message property: Descriptive message.
        Parameters:
        message - the message value to set.
        Returns:
        the Status object itself.
      • statusId

        public InsightStatus statusId()
        Get the statusId property: Level of the most severe insight generated by the detector.
        Returns:
        the statusId value.
      • withStatusId

        public Status withStatusId​(InsightStatus statusId)
        Set the statusId property: Level of the most severe insight generated by the detector.
        Parameters:
        statusId - the statusId value to set.
        Returns:
        the Status object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.