Class DetectorInfo


  • public final class DetectorInfo
    extends Object
    Definition of Detector.
    • Constructor Detail

      • DetectorInfo

        public DetectorInfo()
    • Method Detail

      • id

        public String id()
        Get the id property: Id of detector.
        Returns:
        the id value.
      • name

        public String name()
        Get the name property: Name of detector.
        Returns:
        the name value.
      • description

        public String description()
        Get the description property: Short description of the detector and its purpose.
        Returns:
        the description value.
      • author

        public String author()
        Get the author property: Author of the detector.
        Returns:
        the author value.
      • category

        public String category()
        Get the category property: Problem category. This serves for organizing group for detectors.
        Returns:
        the category value.
      • supportTopicList

        public List<SupportTopic> supportTopicList()
        Get the supportTopicList property: List of Support Topics for which this detector is enabled.
        Returns:
        the supportTopicList value.
      • analysisType

        public List<String> analysisType()
        Get the analysisType property: Analysis Types for which this detector should apply to.
        Returns:
        the analysisType value.
      • type

        public DetectorType type()
        Get the type property: Whether this detector is an Analysis Detector or not.
        Returns:
        the type value.
      • score

        public Float score()
        Get the score property: Defines score of a detector to power ML based matching.
        Returns:
        the score value.
      • validate

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