Class ClasspathContainer
java.lang.Object
org.apache.maven.repository.metadata.ClasspathContainer
- All Implemented Interfaces:
Iterable<ArtifactMetadata>
classpath container that is aware of the classpath scope
- Author:
- Oleg Gusakov
-
Constructor Summary
ConstructorDescriptionClasspathContainer
(List<ArtifactMetadata> classpath, ArtifactScopeEnum scope) -
Method Summary
Modifier and TypeMethodDescriptionadd
(ArtifactMetadata md) getScope()
iterator()
void
setClasspath
(List<ArtifactMetadata> classpath) void
setScope
(ArtifactScopeEnum scope) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClasspathContainer
-
ClasspathContainer
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<ArtifactMetadata>
-
add
-
getClasspath
-
getClasspathAsTree
- Throws:
MetadataResolutionException
-
setClasspath
-
getScope
-
setScope
-
toString
-