public static enum Compression.CompressConfig extends Enum<Compression.CompressConfig>
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
static Compression.CompressConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compression.CompressConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compression.CompressConfig TRUE
public static final Compression.CompressConfig FALSE
public static final Compression.CompressConfig AUTO
public static Compression.CompressConfig[] values()
for (Compression.CompressConfig c : Compression.CompressConfig.values()) System.out.println(c);
public static Compression.CompressConfig 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 isEnabled()
Copyright © 2020 The Apache Software Foundation. All rights reserved.