public class SourceArtifactConverter extends Object
SourcePath into
Artifacts.| 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 ruleArtifacts 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 ruleArtifacts representing the sources.