public abstract class UnconfiguredTargetNodeWithDepsPackage extends Object implements ComputeResult
UnconfiguredTargetNodeWithDeps that result from parsing a single build
file| Constructor and Description |
|---|
UnconfiguredTargetNodeWithDepsPackage() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableList<ParsingError> |
getErrors()
Errors that occurred parsing this package.
|
abstract com.google.common.collect.ImmutableSet<Path> |
getIncludes()
Set of extension files read during parsing.
|
abstract Path |
getPackagePath()
Package path, relative to parse root, usually cell root
|
abstract com.google.common.collect.ImmutableMap<String,UnconfiguredTargetNodeWithDeps> |
getUnconfiguredTargetNodesWithDeps()
All
UnconfiguredTargetNodeWithDeps which comes from the same build package, i.e. |
static UnconfiguredTargetNodeWithDepsPackage |
of(Path packagePath,
com.google.common.collect.ImmutableMap<String,UnconfiguredTargetNodeWithDeps> unconfiguredTargetNodesWithDeps,
com.google.common.collect.ImmutableList<ParsingError> errors,
com.google.common.collect.ImmutableSet<Path> includes) |
public UnconfiguredTargetNodeWithDepsPackage()
public abstract Path getPackagePath()
public abstract com.google.common.collect.ImmutableMap<String,UnconfiguredTargetNodeWithDeps> getUnconfiguredTargetNodesWithDeps()
UnconfiguredTargetNodeWithDeps which comes from the same build package, i.e. result
from parsing a single build file. Key is a string representing short build target name (last
part of the name after the colon) and value is corresponding target.public abstract com.google.common.collect.ImmutableList<ParsingError> getErrors()
public abstract com.google.common.collect.ImmutableSet<Path> getIncludes()
public static UnconfiguredTargetNodeWithDepsPackage of(Path packagePath, com.google.common.collect.ImmutableMap<String,UnconfiguredTargetNodeWithDeps> unconfiguredTargetNodesWithDeps, com.google.common.collect.ImmutableList<ParsingError> errors, com.google.common.collect.ImmutableSet<Path> includes)