Enum BracketType
- java.lang.Object
- 
- java.lang.Enum<BracketType>
- 
- com.github.gpluscb.ggjava.entity.enums.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 SummaryEnum Constants Enum Constant Description CIRCUITCUSTOM_SCHEDULEDOUBLE_ELIMINATIONELIMINATION_ROUNDSEXHIBITIONMATCHMAKINGRACEROUND_ROBINSINGLE_ELIMINATIONSWISS
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityTypegetGGEntityType()static BracketTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BracketType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SINGLE_ELIMINATIONpublic static final BracketType SINGLE_ELIMINATION 
 - 
DOUBLE_ELIMINATIONpublic static final BracketType DOUBLE_ELIMINATION 
 - 
ROUND_ROBINpublic static final BracketType ROUND_ROBIN 
 - 
SWISSpublic static final BracketType SWISS 
 - 
EXHIBITIONpublic static final BracketType EXHIBITION 
 - 
CUSTOM_SCHEDULEpublic static final BracketType CUSTOM_SCHEDULE 
 - 
MATCHMAKINGpublic static final BracketType MATCHMAKING 
 - 
ELIMINATION_ROUNDSpublic static final BracketType ELIMINATION_ROUNDS 
 - 
RACEpublic static final BracketType RACE 
 - 
CIRCUITpublic static final BracketType CIRCUIT 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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
 
 - 
getGGEntityType@Nonnull public EntityType getGGEntityType() - Specified by:
- getGGEntityTypein interface- GGEntity
 
 
- 
 
-