Enum Class TeamParser.TeamMode

java.lang.Object
java.lang.Enum<TeamParser.TeamMode>
com.xpdustry.distributor.api.command.cloud.parser.TeamParser.TeamMode
All Implemented Interfaces:
Serializable, Comparable<TeamParser.TeamMode>, Constable
Enclosing class:
TeamParser<C>

public static enum TeamParser.TeamMode extends Enum<TeamParser.TeamMode>
The parsing mode for a TeamParser.
  • Enum Constant Details

    • BASE

      public static final TeamParser.TeamMode BASE
      Only the 6 base teams can be used.
      See Also:
      • Team.baseTeams
    • ALL

      public static final TeamParser.TeamMode ALL
      All 256 teams can be used.
      See Also:
      • Team.all
  • Method Details

    • values

      public static TeamParser.TeamMode[] 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 TeamParser.TeamMode 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