public static enum BuildTargetPattern.Kind extends Enum<BuildTargetPattern.Kind>
Enum Constant and Description |
---|
PACKAGE
Pattern matches all targets in one specific package, like cell//path/to/package:
|
RECURSIVE
Pattern matches all targets in a package, and all packages below that in a directory tree,
i.e cell//path/to/package/...
|
SINGLE
Pattern is a single build target, like cell//path/to/package:target
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isRecursive() |
static BuildTargetPattern.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildTargetPattern.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildTargetPattern.Kind SINGLE
public static final BuildTargetPattern.Kind PACKAGE
public static final BuildTargetPattern.Kind RECURSIVE
public static BuildTargetPattern.Kind[] values()
for (BuildTargetPattern.Kind c : BuildTargetPattern.Kind.values()) System.out.println(c);
public static BuildTargetPattern.Kind 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 abstract boolean isRecursive()