Interface DetectorFactoryChooser


public interface DetectorFactoryChooser
Predicate for choosing DetectorFactory objects.
  • Method Details

    • choose

      boolean choose(DetectorFactory factory)
      Return whether or not given DetectorFactory should be chosen.
      Parameters:
      factory - the DetectorFactory
      Returns:
      true if the DetectorFactory should be chosen, false if not
    • enable

      void enable(DetectorFactory factory)
      Forcibly enable the factory due to ordering constraints with other enabled detectors, if the factory would not otherwise be chosen by choose(DetectorFactory).
      Parameters:
      factory -
    • wasForciblyEnabled

      default boolean wasForciblyEnabled(@NonNull DetectorFactory factory)
      Check whether the given factory was forcibly enabled via enable(DetectorFactory) by ExecutionPlan.build()
      Parameters:
      factory - the DetectorFactory to check, not null
      Returns:
      returns false by default
      See Also: