public interface UnconfiguredBuildTargetViewFactory
UnconfiguredBuildTarget
from a raw string.Modifier and Type | Method and Description |
---|---|
UnconfiguredBuildTarget |
create(String buildTargetName,
CellNameResolver cellNameResolver)
Given a fully-qualified target name returns
UnconfiguredBuildTarget . |
UnconfiguredBuildTarget |
createForBaseName(BaseName baseName,
String buildTargetName,
CellNameResolver cellNameResolver)
Given a target base name and a target name returns
UnconfiguredBuildTarget . |
UnconfiguredBuildTarget |
createForPathRelativeToProjectRoot(ForwardRelativePath pathRelativeToProjectRoot,
String buildTargetName,
CellNameResolver cellNameResolver) |
UnconfiguredBuildTarget |
createWithWildcard(String buildTargetName,
CellNameResolver cellNameResolver)
Given a target base name and a target name returns
UnconfiguredBuildTarget with
optionally allowing the short name to be empty. |
UnconfiguredBuildTarget create(String buildTargetName, CellNameResolver cellNameResolver)
UnconfiguredBuildTarget
.
A fully-qualified target name is the target name that uniquely identifies the target.
Note that the cell name of the result build target can be different from the cell name
specified in the target name. The build target contains a canonical cell name
.
UnconfiguredBuildTarget createForBaseName(BaseName baseName, String buildTargetName, CellNameResolver cellNameResolver)
UnconfiguredBuildTarget
.
The target name may either be a fully-qualified name or a relative name. baseName
is
used when a relative name is given to correctly resolve the name of the target.
For example, //java/com/company/org:org
is a fully-qualified name. The same target
is represented by a relative name org
with base name java/com/company/org
.
Note that the cell name of the result build target can be different from the cell name
specified in the target name. The build target contains a canonical cell name
.
UnconfiguredBuildTarget createForPathRelativeToProjectRoot(ForwardRelativePath pathRelativeToProjectRoot, String buildTargetName, CellNameResolver cellNameResolver)
UnconfiguredBuildTarget createWithWildcard(String buildTargetName, CellNameResolver cellNameResolver)
UnconfiguredBuildTarget
with
optionally allowing the short name to be empty.
The target name may either be a fully-qualified name or a target name pattern.
For example, //java/com/company/org:org
is a fully-qualified name. //java/com/company/org:
is an example of a target with a pattern.
Note that the cell name of the result build target can be different from the cell name
specified in the target name. The build target contains a canonical cell name
.