Class SingleDetectorFactorySelector

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String className  
      private Plugin plugin  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean selectFactory​(DetectorFactory factory)
      Is given DetectorFactory selected (as part of an ordering constraint)?
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • plugin

        private final Plugin plugin
      • className

        private final java.lang.String className
    • Constructor Detail

      • SingleDetectorFactorySelector

        public SingleDetectorFactorySelector​(Plugin plugin,
                                             java.lang.String className)
    • 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