Package com.facebook.buck.rules.keys
Enum RuleKeyType
- java.lang.Object
-
- java.lang.Enum<RuleKeyType>
-
- com.facebook.buck.rules.keys.RuleKeyType
-
- All Implemented Interfaces:
Serializable
,Comparable<RuleKeyType>
public enum RuleKeyType extends Enum<RuleKeyType>
Enum denoting a type of the rulekeys produced by various rulekey factories.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_AGNOSTIC
DEFAULT
DEP_FILE
INPUT
MANIFEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuleKeyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuleKeyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final RuleKeyType DEFAULT
-
INPUT
public static final RuleKeyType INPUT
-
DEP_FILE
public static final RuleKeyType DEP_FILE
-
MANIFEST
public static final RuleKeyType MANIFEST
-
CONTENT_AGNOSTIC
public static final RuleKeyType CONTENT_AGNOSTIC
-
-
Method Detail
-
values
public static RuleKeyType[] 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 (RuleKeyType c : RuleKeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuleKeyType 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
-
-