public static enum JavaBuckConfig.UnusedDependenciesConfig extends Enum<JavaBuckConfig.UnusedDependenciesConfig>
JavaBuckConfig.UnusedDependenciesAction
with a couple of extra options to give greater
flexibility.Enum Constant and Description |
---|
FAIL |
IGNORE |
IGNORE_ALWAYS |
WARN |
WARN_IF_FAIL |
Modifier and Type | Method and Description |
---|---|
static JavaBuckConfig.UnusedDependenciesConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaBuckConfig.UnusedDependenciesConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaBuckConfig.UnusedDependenciesConfig FAIL
public static final JavaBuckConfig.UnusedDependenciesConfig WARN
public static final JavaBuckConfig.UnusedDependenciesConfig IGNORE
public static final JavaBuckConfig.UnusedDependenciesConfig IGNORE_ALWAYS
public static final JavaBuckConfig.UnusedDependenciesConfig WARN_IF_FAIL
public static JavaBuckConfig.UnusedDependenciesConfig[] values()
for (JavaBuckConfig.UnusedDependenciesConfig c : JavaBuckConfig.UnusedDependenciesConfig.values()) System.out.println(c);
public static JavaBuckConfig.UnusedDependenciesConfig 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 null