public class BuildTargetPatternParser extends Object
BuildTargetPattern
Pattern may be one of following formats:
Cell component may be omitted in which case pattern will be evaluated in the context of executing or owning cell
| Modifier and Type | Method and Description |
|---|---|
static BuildTargetPattern |
parse(String pattern,
CellNameResolver cellNameResolver)
Parse a string representing build target pattern
|
public static BuildTargetPattern parse(String pattern, CellNameResolver cellNameResolver) throws BuildTargetParseException
pattern - String representing build target pattern, for example "//..."BuildTargetParseException - If build target pattern is invalid; at this moment BuildTargetParseException is unchecked exception but we still want to declare it with the
hope to make it checked one day; this type of exception would be properly handled as user
error