Class ResolvePathsResult<T>
- java.lang.Object
-
- org.codehaus.plexus.languages.java.jpms.ResolvePathsResult<T>
-
public class ResolvePathsResult<T> extends java.lang.ObjectHolds the results of the project analyzer- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<T>classpathElementsprivate JavaModuleDescriptormainModuleDescriptorprivate java.util.Map<T,ModuleNameSource>modulepathElementsprivate java.util.Map<T,JavaModuleDescriptor>pathElementsOrdered map, respects the classpath orderprivate java.util.Map<T,java.lang.Exception>pathExceptions
-
Constructor Summary
Constructors Constructor Description ResolvePathsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<T>getClasspathElements()All T that belong to the classpath based on the module descriptorJavaModuleDescriptorgetMainModuleDescriptor()The resolved main module descriptorjava.util.Map<T,ModuleNameSource>getModulepathElements()All T that belong to the modulepath, based on the module descriptor.java.util.Map<T,JavaModuleDescriptor>getPathElements()Ordered map, respects the classpath orderjava.util.Map<T,java.lang.Exception>getPathExceptions()Map containing exceptions for every T which modulename resolution failed(package private) voidsetClasspathElements(java.util.Collection<T> classpathElements)(package private) voidsetMainModuleDescriptor(JavaModuleDescriptor mainModuleDescriptor)(package private) voidsetModulepathElements(java.util.Map<T,ModuleNameSource> modulepathElements)(package private) voidsetPathElements(java.util.Map<T,JavaModuleDescriptor> pathElements)(package private) voidsetPathExceptions(java.util.Map<T,java.lang.Exception> pathExceptions)
-
-
-
Field Detail
-
mainModuleDescriptor
private JavaModuleDescriptor mainModuleDescriptor
-
pathElements
private java.util.Map<T,JavaModuleDescriptor> pathElements
Ordered map, respects the classpath order
-
modulepathElements
private java.util.Map<T,ModuleNameSource> modulepathElements
-
classpathElements
private java.util.Collection<T> classpathElements
-
pathExceptions
private java.util.Map<T,java.lang.Exception> pathExceptions
-
-
Method Detail
-
setMainModuleDescriptor
void setMainModuleDescriptor(JavaModuleDescriptor mainModuleDescriptor)
-
getMainModuleDescriptor
public JavaModuleDescriptor getMainModuleDescriptor()
The resolved main module descriptor- Returns:
- the resolved descriptor
- See Also:
ResolvePathsRequest.setMainModuleDescriptor(Object)
-
setPathElements
void setPathElements(java.util.Map<T,JavaModuleDescriptor> pathElements)
-
getPathElements
public java.util.Map<T,JavaModuleDescriptor> getPathElements()
Ordered map, respects the classpath order
-
setClasspathElements
void setClasspathElements(java.util.Collection<T> classpathElements)
-
getClasspathElements
public java.util.Collection<T> getClasspathElements()
All T that belong to the classpath based on the module descriptor- Returns:
- the classpath elements, never
null - See Also:
getPathElements()
-
setModulepathElements
void setModulepathElements(java.util.Map<T,ModuleNameSource> modulepathElements)
-
getModulepathElements
public java.util.Map<T,ModuleNameSource> getModulepathElements()
All T that belong to the modulepath, based on the module descriptor. For every T the source for the module name is added.- Returns:
- all modulepath elements, never
null - See Also:
getPathElements()
-
setPathExceptions
void setPathExceptions(java.util.Map<T,java.lang.Exception> pathExceptions)
-
getPathExceptions
public java.util.Map<T,java.lang.Exception> getPathExceptions()
Map containing exceptions for every T which modulename resolution failed- Returns:
- the exceptions for every T, never
null
-
-