Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.wpi.first.wpilibj
Class DriverStation.Alliance

    java.lang.Object
      edu.wpi.first.wpilibj.DriverStation.Alliance

Enclosing class:
  DriverStation

    public static class DriverStation.Alliance

extends Object

The robot alliance that the robot is a part of

Field Summary
`static DriverStation.Alliance` | `kBlue` alliance: Blue
`static int` | `kBlue_val`
`static DriverStation.Alliance` | `kInvalid` alliance: Invalid
`static int` | `kInvalid_val`
`static DriverStation.Alliance` | `kRed` alliance: Red
`static int` | `kRed_val`
`String` | `name` The Alliance name.
`int` | `value` The integer value representing this enumeration.

Method Summary

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### value

    public final int value

  The integer value representing this enumeration.

### name

    public final String name

  The Alliance name.

### kRed_val

    public static final int kRed_val

See Also:
  Constant Field Values

### kBlue_val

    public static final int kBlue_val

See Also:
  Constant Field Values

### kInvalid_val

    public static final int kInvalid_val

See Also:
  Constant Field Values

### kRed

    public static final DriverStation.Alliance kRed

  alliance: Red

### kBlue

    public static final DriverStation.Alliance kBlue

  alliance: Blue

### kInvalid

    public static final DriverStation.Alliance kInvalid

  alliance: Invalid

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"