Class Sleeper

java.lang.Object
org.wildstang.framework.auto.AutoProgram
org.wildstang.framework.auto.program.Sleeper

public class Sleeper extends AutoProgram
A default AutoProgram that does nothing an never completes. This is used in AutoManager as a final program (program 0) which does nothing but keeps a program running when all programs complete.
  • Constructor Details

    • Sleeper

      public Sleeper()
  • Method Details

    • defineSteps

      public void defineSteps()
      Defines an AutoProgram's steps, executed in order added. Sleeper uses only a single step: AutoStepStopAutonomous, which does nothing and never finishes.
      Specified by:
      defineSteps in class AutoProgram
    • toString

      public String toString()
      Returns the AutoProgram's name.
      Specified by:
      toString in class AutoProgram
      Returns:
      The name of the AutoProgram.