@Deprecated @ApiStatus.ScheduledForRemoval public enum CocWarFrequency extends Enum<CocWarFrequency>
| Enum Constant and Description |
|---|
ALWAYS
Deprecated.
|
LESS_THAN_ONCE_PER_WEEK
Deprecated.
|
MORE_THAN_ONCE_PER_WEEK
Deprecated.
|
NEVER
Deprecated.
|
NONE
Deprecated.
|
ONCE_PER_WEEK
Deprecated.
|
UNKNOWN
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Deprecated.
Getter for the field
code. |
static CocWarFrequency |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CocWarFrequency[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CocWarFrequency NONE
public static final CocWarFrequency ALWAYS
public static final CocWarFrequency MORE_THAN_ONCE_PER_WEEK
public static final CocWarFrequency ONCE_PER_WEEK
public static final CocWarFrequency LESS_THAN_ONCE_PER_WEEK
public static final CocWarFrequency NEVER
public static final CocWarFrequency UNKNOWN
public static CocWarFrequency[] values()
for (CocWarFrequency c : CocWarFrequency.values()) System.out.println(c);
public static CocWarFrequency 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 nullCopyright © 2016–2024. All rights reserved.