public class DiscoveredArtifacts extends Object implements Iterable<DiscoveredArtifact>
| Constructor and Description |
|---|
DiscoveredArtifacts()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(File file)
Adds a candidate artifact to the set of collected (accepted/discovered) artifacts.
|
protected Set<DiscoveredArtifact> |
getArtifacts() |
void |
index(File workDir)
Indexes all of the discovered artifacts using the given directory as the base directory
(for determining canonical archive paths).
|
Iterator<DiscoveredArtifact> |
iterator() |
protected void |
setArtifacts(Set<DiscoveredArtifact> artifacts) |
public void add(File file)
candidate - public void index(File workDir)
workDir - public Iterator<DiscoveredArtifact> iterator()
iterator in interface Iterable<DiscoveredArtifact>Iterable.iterator()protected Set<DiscoveredArtifact> getArtifacts()
protected void setArtifacts(Set<DiscoveredArtifact> artifacts)
artifacts - the artifacts to setCopyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.