public class SourceArtifactConverter extends Object
SourcePath
into
Artifact
s.Modifier and Type | Method and Description |
---|---|
static Artifact |
getArtifactsFromSrc(SourcePath src,
com.google.common.collect.ImmutableMap<BuildTarget,ProviderInfoCollection> deps) |
static com.google.common.collect.ImmutableSortedSet<Artifact> |
getArtifactsFromSrcs(Iterable<SourcePath> srcs,
com.google.common.collect.ImmutableMap<BuildTarget,ProviderInfoCollection> deps) |
public static Artifact getArtifactsFromSrc(SourcePath src, com.google.common.collect.ImmutableMap<BuildTarget,ProviderInfoCollection> deps)
src
- the object representing the sources of a rule attributedeps
- the ProviderInfoCollection
from the dependencies of a ruleArtifact
s representing the sources.public static com.google.common.collect.ImmutableSortedSet<Artifact> getArtifactsFromSrcs(Iterable<SourcePath> srcs, com.google.common.collect.ImmutableMap<BuildTarget,ProviderInfoCollection> deps)
srcs
- the set of the sources of a rule attributedeps
- the ProviderInfoCollection
from the dependencies of a ruleArtifact
s representing the sources.