Class GetRequirements


  • public class GetRequirements
    extends java.lang.Object
    Helper class to get the requirements of a Command. This is necessary because the getRequirements method is package-scope, but we want to use it anyway.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Enumeration getRequirements​(edu.wpi.first.wpilibj.command.Command cmd)
      Get the requirements of a command
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRequirements

        public static java.util.Enumeration getRequirements​(edu.wpi.first.wpilibj.command.Command cmd)
        Get the requirements of a command
        Parameters:
        cmd - The command to use
        Returns:
        An enumeration of the requirements