public interface HasMultipleOutputs extends BuildRule
BuildRule
instances that support multiple outputs via output
labels.Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<OutputLabel> |
getOutputLabels()
returns a set of
OutputLabel instances associated with this build rule. |
default SourcePath |
getSourcePathToOutput() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSourcePathToOutput(OutputLabel outputLabel)
Returns
SourcePath instances to the outputs associated with the given output label, or
null if the output label does not exist. |
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
@Nullable com.google.common.collect.ImmutableSortedSet<SourcePath> getSourcePathToOutput(OutputLabel outputLabel)
SourcePath
instances to the outputs associated with the given output label, or
null
if the output label does not exist. If the default output label is given, returns
the default outputs associated with the rule.com.google.common.collect.ImmutableSet<OutputLabel> getOutputLabels()
OutputLabel
instances associated with this build rule.@Nullable default SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule