public final class QueryUtils extends Object
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<BuildTarget> |
extractBuildTargets(CellNameResolver cellNameResolver,
BaseName targetBaseName,
Query query) |
static java.util.stream.Stream<BuildTarget> |
extractParseTimeTargets(BuildTarget target,
CellNameResolver cellNames,
Query query) |
static <T> T |
withDepsQuery(T arg,
BuildTarget target,
QueryCache cache,
ActionGraphBuilder graphBuilder,
CellNameResolver cellRoots,
TargetGraph graph) |
static <T> T |
withModuleBlacklistQuery(T arg,
BuildTarget target,
QueryCache cache,
ActionGraphBuilder graphBuilder,
CellNameResolver cellRoots,
TargetGraph graph)
Utility method for resolving queries in application_module_blacklist
|
static <T> T |
withProvidedDepsQuery(T arg,
BuildTarget target,
QueryCache cache,
ActionGraphBuilder graphBuilder,
CellNameResolver cellRoots,
TargetGraph graph) |
public static <T> T withDepsQuery(T arg, BuildTarget target, QueryCache cache, ActionGraphBuilder graphBuilder, CellNameResolver cellRoots, TargetGraph graph)
public static <T> T withProvidedDepsQuery(T arg, BuildTarget target, QueryCache cache, ActionGraphBuilder graphBuilder, CellNameResolver cellRoots, TargetGraph graph)
public static <T> T withModuleBlacklistQuery(T arg, BuildTarget target, QueryCache cache, ActionGraphBuilder graphBuilder, CellNameResolver cellRoots, TargetGraph graph)
T
- arg
- target
- cache
- graphBuilder
- cellRoots
- graph
- public static java.util.stream.Stream<BuildTarget> extractBuildTargets(CellNameResolver cellNameResolver, BaseName targetBaseName, Query query) throws QueryException
QueryException
public static java.util.stream.Stream<BuildTarget> extractParseTimeTargets(BuildTarget target, CellNameResolver cellNames, Query query)