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 SummaryConstructorsConstructorDescriptionClasspathContainer(List<ArtifactMetadata> classpath, ArtifactScopeEnum scope) 
- 
Method SummaryModifier and TypeMethodDescriptionadd(ArtifactMetadata md) getScope()iterator()voidsetClasspath(List<ArtifactMetadata> classpath) voidsetScope(ArtifactScopeEnum scope) toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ClasspathContainer
- 
ClasspathContainer
 
- 
- 
Method Details- 
iterator- Specified by:
- iteratorin interface- Iterable<ArtifactMetadata>
 
- 
add
- 
getClasspath
- 
getClasspathAsTree- Throws:
- MetadataResolutionException
 
- 
setClasspath
- 
getScope
- 
setScope
- 
toString
 
-