Class ReportingDetectorFactorySelector

    • Field Detail

      • plugin

        private final Plugin plugin
    • Constructor Detail

      • ReportingDetectorFactorySelector

        public ReportingDetectorFactorySelector​(Plugin plugin)
        Constructor.
        Parameters:
        plugin - Plugin containing detector factories to be selected; if null, factories from any Plugin may be selected
    • Method Detail

      • selectFactory

        public boolean selectFactory​(DetectorFactory factory)
        Description copied from interface: DetectorFactorySelector
        Is given DetectorFactory selected (as part of an ordering constraint)?
        Specified by:
        selectFactory in interface DetectorFactorySelector
        Parameters:
        factory - a DetectorFactory
        Returns:
        true if the factory is selected, false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object