Enum Class Feature.Kind

java.lang.Object
java.lang.Enum<Feature.Kind>
com.crossbotics.ftchelper.robot.Feature.Kind
All Implemented Interfaces:
Serializable, Comparable<Feature.Kind>, Constable
Enclosing class:
Feature

public static enum Feature.Kind extends Enum<Feature.Kind>
Where it is used.
  • Enum Constant Details

    • AUTO_STEP

      public static final Feature.Kind AUTO_STEP
      A step in an autonomous (Steps), e.g. .aimAtGoal("Aim", 3).
    • ACTION

      public static final Feature.Kind ACTION
      An action, for an autonomous (.action(...)) or a TeleOp button (g1.y.press(...)).
    • TOGGLE

      public static final Feature.Kind TOGGLE
      A TeleOp on/off switch for a button, in Controls.java.
    • AUTOMATIC

      public static final Feature.Kind AUTOMATIC
      On by itself: nothing to write.
  • Method Details

    • values

      public static Feature.Kind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Feature.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • words

      public String words()
      "auto step", "action", "TeleOp toggle", "automatic".