Class ResolvePathsResult<T>


  • public class ResolvePathsResult<T>
    extends java.lang.Object
    Holds the results of the project analyzer
    Since:
    1.0.0
    • Field Detail

      • 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
    • Constructor Detail

      • ResolvePathsResult

        public ResolvePathsResult()
    • Method Detail

      • setMainModuleDescriptor

        void setMainModuleDescriptor​(JavaModuleDescriptor mainModuleDescriptor)
      • 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object