Class ResolvePathsResult<T>

java.lang.Object
org.codehaus.plexus.languages.java.jpms.ResolvePathsResult<T>

public class ResolvePathsResult<T> extends Object
Holds the results of the project analyzer
Since:
1.0.0
Author:
Robert Scholte
  • Constructor Details

    • ResolvePathsResult

      public ResolvePathsResult()
  • Method Details

    • getMainModuleDescriptor

      public JavaModuleDescriptor getMainModuleDescriptor()
      The resolved main module descriptor
      Returns:
      the resolved descriptor
      See Also:
    • getPathElements

      public Map<T,JavaModuleDescriptor> getPathElements()
      Ordered map, respects the classpath order
    • getClasspathElements

      public Collection<T> getClasspathElements()
      All T that belong to the classpath based on the module descriptor
      Returns:
      the classpath elements, never null
      See Also:
    • getModulepathElements

      public 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:
    • getPathExceptions

      public Map<T,Exception> getPathExceptions()
      Map containing exceptions for every T which modulename resolution failed
      Returns:
      the exceptions for every T, never null
    • toString

      public String toString()
      Overrides:
      toString in class Object