public final class NativeLinkTargetInfo extends Object implements NativeLinkTarget
NativeLinkTarget
where the behavior is fixed when created.Constructor and Description |
---|
NativeLinkTargetInfo(BuildTarget target,
NativeLinkTargetMode targetMode,
Iterable<NativeLinkable> linkableDeps,
NativeLinkableInput linkableInput,
Optional<Path> targetOutputPath) |
Modifier and Type | Method and Description |
---|---|
BuildTarget |
getBuildTarget()
A representative
BuildTarget for this object. |
Iterable<? extends NativeLinkable> |
getNativeLinkTargetDeps(ActionGraphBuilder graphBuilder) |
NativeLinkableInput |
getNativeLinkTargetInput(ActionGraphBuilder graphBuilder,
SourcePathResolverAdapter pathResolver) |
NativeLinkTargetMode |
getNativeLinkTargetMode()
The
NativeLinkTargetMode for this target. |
Optional<Path> |
getNativeLinkTargetOutputPath() |
public NativeLinkTargetInfo(BuildTarget target, NativeLinkTargetMode targetMode, Iterable<NativeLinkable> linkableDeps, @Nullable NativeLinkableInput linkableInput, Optional<Path> targetOutputPath)
public BuildTarget getBuildTarget()
NativeLinkTarget
BuildTarget
for this object.getBuildTarget
in interface NativeLinkTarget
public NativeLinkTargetMode getNativeLinkTargetMode()
NativeLinkTarget
NativeLinkTargetMode
for this target.getNativeLinkTargetMode
in interface NativeLinkTarget
public Iterable<? extends NativeLinkable> getNativeLinkTargetDeps(ActionGraphBuilder graphBuilder)
getNativeLinkTargetDeps
in interface NativeLinkTarget
NativeLinkable
dependencies used to link this target.public NativeLinkableInput getNativeLinkTargetInput(ActionGraphBuilder graphBuilder, SourcePathResolverAdapter pathResolver)
getNativeLinkTargetInput
in interface NativeLinkTarget
NativeLinkableInput
used to link this target.public Optional<Path> getNativeLinkTargetOutputPath()
getNativeLinkTargetOutputPath
in interface NativeLinkTarget
Path
to use for the output location.