Class Scheduler.Controller

java.lang.Object
org.apache.maven.surefire.junitcore.pc.Scheduler.Controller
Enclosing class:
Scheduler

private final class Scheduler.Controller extends Object
If this is a master scheduler, the slaves can stop scheduling by the master through the controller.
  • Field Details

  • Constructor Details

    • Controller

      private Controller(Scheduler slave)
  • Method Details

    • canSchedule

      boolean canSchedule()
      Returns:
      true if new children can be scheduled.
    • stop

      void stop(Collection<org.junit.runner.Description> executedTests, Collection<org.junit.runner.Description> incompleteTests, boolean tryCancelFutures, boolean shutdownNow)
    • destroy

      boolean destroy()
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object