public static enum ImanitySpigotConfig.CompressType extends Enum<ImanitySpigotConfig.CompressType>
Modifier and Type | Method and Description |
---|---|
static ImanitySpigotConfig.CompressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImanitySpigotConfig.CompressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImanitySpigotConfig.CompressType GZIP
public static final ImanitySpigotConfig.CompressType ZLIB
public static final ImanitySpigotConfig.CompressType ZSTD
public static final ImanitySpigotConfig.CompressType NONE
public static ImanitySpigotConfig.CompressType[] values()
for (ImanitySpigotConfig.CompressType c : ImanitySpigotConfig.CompressType.values()) System.out.println(c);
public static ImanitySpigotConfig.CompressType 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 © 2022. All rights reserved.