Class ResolvePathsResult<T>
java.lang.Object
org.codehaus.plexus.languages.java.jpms.ResolvePathsResult<T>
Holds the results of the project analyzer
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Collection<T>
private JavaModuleDescriptor
private Map<T,
ModuleNameSource> private Map<T,
JavaModuleDescriptor> Ordered map, respects the classpath order -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAll T that belong to the classpath based on the module descriptorThe resolved main module descriptorAll T that belong to the modulepath, based on the module descriptor.Ordered map, respects the classpath orderMap containing exceptions for every T which modulename resolution failed(package private) void
setClasspathElements
(Collection<T> classpathElements) (package private) void
setMainModuleDescriptor
(JavaModuleDescriptor mainModuleDescriptor) (package private) void
setModulepathElements
(Map<T, ModuleNameSource> modulepathElements) (package private) void
setPathElements
(Map<T, JavaModuleDescriptor> pathElements) (package private) void
setPathExceptions
(Map<T, Exception> pathExceptions) toString()
-
Field Details
-
mainModuleDescriptor
-
pathElements
Ordered map, respects the classpath order -
modulepathElements
-
classpathElements
-
pathExceptions
-
-
Constructor Details
-
ResolvePathsResult
public ResolvePathsResult()
-
-
Method Details
-
setMainModuleDescriptor
-
getMainModuleDescriptor
The resolved main module descriptor- Returns:
- the resolved descriptor
- See Also:
-
setPathElements
-
getPathElements
Ordered map, respects the classpath order -
setClasspathElements
-
getClasspathElements
All T that belong to the classpath based on the module descriptor- Returns:
- the classpath elements, never
null
- See Also:
-
setModulepathElements
-
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:
-
setPathExceptions
-
getPathExceptions
Map containing exceptions for every T which modulename resolution failed- Returns:
- the exceptions for every T, never
null
-
toString
-