Enum BracketType

  • All Implemented Interfaces:
    GGEnum, GGEntity, GGObject, java.io.Serializable, java.lang.Comparable<BracketType>

    public enum BracketType
    extends java.lang.Enum<BracketType>
    implements GGEnum
    The type of Bracket format that a Phase is configured with.
    • Enum Constant Detail

      • SINGLE_ELIMINATION

        public static final BracketType SINGLE_ELIMINATION
      • DOUBLE_ELIMINATION

        public static final BracketType DOUBLE_ELIMINATION
      • ROUND_ROBIN

        public static final BracketType ROUND_ROBIN
      • EXHIBITION

        public static final BracketType EXHIBITION
      • CUSTOM_SCHEDULE

        public static final BracketType CUSTOM_SCHEDULE
      • MATCHMAKING

        public static final BracketType MATCHMAKING
      • ELIMINATION_ROUNDS

        public static final BracketType ELIMINATION_ROUNDS
    • Method Detail

      • values

        public static BracketType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BracketType c : BracketType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BracketType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null