Package com.facebook.buck.jvm.java
Enum JavaBuckConfig.UnusedDependenciesAction
- java.lang.Object
-
- java.lang.Enum<JavaBuckConfig.UnusedDependenciesAction>
-
- com.facebook.buck.jvm.java.JavaBuckConfig.UnusedDependenciesAction
-
- All Implemented Interfaces:
Serializable
,Comparable<JavaBuckConfig.UnusedDependenciesAction>
- Enclosing class:
- JavaBuckConfig
public static enum JavaBuckConfig.UnusedDependenciesAction extends Enum<JavaBuckConfig.UnusedDependenciesAction>
An action that is executed when a rule that compiles Java code has unused dependencies.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaBuckConfig.UnusedDependenciesAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static JavaBuckConfig.UnusedDependenciesAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAIL
public static final JavaBuckConfig.UnusedDependenciesAction FAIL
-
WARN
public static final JavaBuckConfig.UnusedDependenciesAction WARN
-
IGNORE
public static final JavaBuckConfig.UnusedDependenciesAction IGNORE
-
-
Method Detail
-
values
public static JavaBuckConfig.UnusedDependenciesAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JavaBuckConfig.UnusedDependenciesAction c : JavaBuckConfig.UnusedDependenciesAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaBuckConfig.UnusedDependenciesAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-