public class AsyncVersionedTargetGraphBuilder extends AbstractVersionedTargetGraphBuilder
TargetGraph
, resolves any versioned nodes, and returns a new graph with
the versioned nodes removed, transforming it asynchronously using GraphComputation
.timeout, timeUnit, typeCoercerFactory, unversionedTargetGraphCreationResult
Modifier and Type | Method and Description |
---|---|
TargetGraph |
build() |
protected com.facebook.buck.versions.VersionInfo |
getVersionInfo(TargetNode<?> node)
Get/cache the transitive version info for this node.
|
static TargetGraphCreationResult |
transform(VersionSelector versionSelector,
TargetGraphCreationResult unversionedTargetGraphCreationResult,
DepsAwareExecutor<? super ComputeResult,?> executor,
TypeCoercerFactory typeCoercerFactory,
UnconfiguredBuildTargetViewFactory unconfiguredBuildTargetFactory,
long timeoutSeconds,
Cells cells)
Transforms the given
TargetGraphCreationResult such that all versions are resolved |
getNode, getNodeOptional, getTargetNodeTranslator, getTranslateBuildTarget, resolveVersions
protected com.facebook.buck.versions.VersionInfo getVersionInfo(TargetNode<?> node)
AbstractVersionedTargetGraphBuilder
getVersionInfo
in class AbstractVersionedTargetGraphBuilder
public TargetGraph build() throws TimeoutException, InterruptedException, VersionException
TargetGraph
TimeoutException
InterruptedException
VersionException
public static TargetGraphCreationResult transform(VersionSelector versionSelector, TargetGraphCreationResult unversionedTargetGraphCreationResult, DepsAwareExecutor<? super ComputeResult,?> executor, TypeCoercerFactory typeCoercerFactory, UnconfiguredBuildTargetViewFactory unconfiguredBuildTargetFactory, long timeoutSeconds, Cells cells) throws VersionException, TimeoutException, InterruptedException
TargetGraphCreationResult
such that all versions are resolved