public enum SourceChallengeType extends Enum<SourceChallengeType>
Modifier and Type | Method and Description |
---|---|
int |
getHeader()
Getter for the field
header . |
static SourceChallengeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceChallengeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceChallengeType INFO
public static final SourceChallengeType PLAYER
public static final SourceChallengeType RULES
public static final SourceChallengeType CHALLENGE
public static SourceChallengeType[] values()
for (SourceChallengeType c : SourceChallengeType.values()) System.out.println(c);
public static SourceChallengeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getHeader()
Getter for the field header
.
Copyright © 2016–2024. All rights reserved.