public abstract class BuildFileSpec extends Object
TargetNodeSpec, to match build files.| Constructor and Description |
|---|
BuildFileSpec() |
| Modifier and Type | Method and Description |
|---|---|
static BuildFileSpec |
fromPath(CellRelativePath cellRelativePath)
Create a
BuildFileSpec for a package build target pattern like foo/bar: or foo/bar:baz |
static BuildFileSpec |
fromRecursivePath(CellRelativePath cellRelativePath)
Create a
BuildFileSpec for a recursive build target pattern like foo/bar/... |
static BuildFileSpec |
fromUnconfiguredBuildTarget(UnconfiguredBuildTarget target) |
abstract CellRelativePath |
getCellRelativeBaseName() |
abstract boolean |
isRecursive() |
public abstract CellRelativePath getCellRelativeBaseName()
public abstract boolean isRecursive()
public static BuildFileSpec fromRecursivePath(CellRelativePath cellRelativePath)
BuildFileSpec for a recursive build target pattern like foo/bar/...BuildFileSpec with isRecursive()} set to truepublic static BuildFileSpec fromPath(CellRelativePath cellRelativePath)
BuildFileSpec for a package build target pattern like foo/bar: or foo/bar:bazBuildFileSpec with isRecursive()} set to falsepublic static BuildFileSpec fromUnconfiguredBuildTarget(UnconfiguredBuildTarget target)
BuildFileSpec for a specific build target like //foo/bar:baz