public enum EnvType extends Enum<EnvType>
| Enum Constant and Description |
|---|
GROUP |
GROUP_USER |
GUILD |
USER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isV2() |
static EnvType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnvType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvType GUILD
public static final EnvType GROUP
public static final EnvType GROUP_USER
public static final EnvType USER
public static EnvType[] values()
for (EnvType c : EnvType.values()) System.out.println(c);
public static EnvType 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 boolean isV2()
Copyright © 2025. All rights reserved.