public abstract class ActionAndTargetGraphs extends Object
ActionGraphAndBuilder
and TargetGraphCreationResult
. Also
contains helper methods to choose which TargetGraph
to use (VersionedTargetGraph
vs un-versioned).Constructor and Description |
---|
ActionAndTargetGraphs() |
Modifier and Type | Method and Description |
---|---|
abstract ActionGraphAndBuilder |
getActionGraphAndBuilder() |
TargetGraphCreationResult |
getTargetGraph()
Helper method to get the appropriate
TargetGraph . |
static TargetGraphCreationResult |
getTargetGraph(TargetGraphCreationResult unversionedTargetGraph,
Optional<TargetGraphCreationResult> versionedTargetGraph)
Helper method to choose versioned vs un-versioned
TargetGraph . |
abstract TargetGraphCreationResult |
getUnversionedTargetGraph() |
abstract Optional<TargetGraphCreationResult> |
getVersionedTargetGraph() |
static com.facebook.buck.core.model.graph.ImmutableActionAndTargetGraphs |
of(TargetGraphCreationResult unversionedTargetGraph,
Optional<? extends TargetGraphCreationResult> versionedTargetGraph,
ActionGraphAndBuilder actionGraphAndBuilder) |
public abstract TargetGraphCreationResult getUnversionedTargetGraph()
public abstract Optional<TargetGraphCreationResult> getVersionedTargetGraph()
public abstract ActionGraphAndBuilder getActionGraphAndBuilder()
public static TargetGraphCreationResult getTargetGraph(TargetGraphCreationResult unversionedTargetGraph, Optional<TargetGraphCreationResult> versionedTargetGraph)
TargetGraph
.public TargetGraphCreationResult getTargetGraph()
TargetGraph
.public static com.facebook.buck.core.model.graph.ImmutableActionAndTargetGraphs of(TargetGraphCreationResult unversionedTargetGraph, Optional<? extends TargetGraphCreationResult> versionedTargetGraph, ActionGraphAndBuilder actionGraphAndBuilder)