public class ClasspathContainer extends Object implements Iterable<ArtifactMetadata>
Constructor and Description |
---|
ClasspathContainer(ArtifactScopeEnum scope) |
ClasspathContainer(List<ArtifactMetadata> classpath,
ArtifactScopeEnum scope) |
Modifier and Type | Method and Description |
---|---|
ClasspathContainer |
add(ArtifactMetadata md) |
List<ArtifactMetadata> |
getClasspath() |
MetadataTreeNode |
getClasspathAsTree() |
ArtifactScopeEnum |
getScope() |
Iterator<ArtifactMetadata> |
iterator() |
void |
setClasspath(List<ArtifactMetadata> classpath) |
void |
setScope(ArtifactScopeEnum scope) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ClasspathContainer(ArtifactScopeEnum scope)
public ClasspathContainer(List<ArtifactMetadata> classpath, ArtifactScopeEnum scope)
public Iterator<ArtifactMetadata> iterator()
iterator
in interface Iterable<ArtifactMetadata>
public ClasspathContainer add(ArtifactMetadata md)
public List<ArtifactMetadata> getClasspath()
public MetadataTreeNode getClasspathAsTree() throws MetadataResolutionException
MetadataResolutionException
public void setClasspath(List<ArtifactMetadata> classpath)
public ArtifactScopeEnum getScope()
public void setScope(ArtifactScopeEnum scope)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.