Class OneShotPooledSubsystem

  • All Implemented Interfaces:
    Subsystem

    public abstract class OneShotPooledSubsystem
    extends AbstractPooledSubsystem
    A Subsystem whose task is only normally run once. The task can however be manually forced to run again by calling {OneshotSubsystem#start} again.
    • Constructor Detail

      • OneShotPooledSubsystem

        public OneShotPooledSubsystem()
    • Method Detail

      • start

        public void start()
        Start (or restart) this Subsystem's background task.
      • isDone

        public boolean isDone()
        Check if this subsystem's task has been completed. This is never true for repeating subsystems, which are always "Not Started", "Scheduled", or "Cancelled".
        Returns:
        true iff completed.