Package gw.lang.init

Class GosuPathEntry


  • public class GosuPathEntry
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GosuPathEntry​(IDirectory root, java.util.List<? extends IDirectory> srcs)
      Constructs a new GosuPathEntry with the specified data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IDirectory getRoot()
      Returns the root directory for this GosuPathEntry.
      java.util.List<? extends IDirectory> getSources()
      Returns the source directories for this path entry.
      java.lang.String toDebugString()
      Returns a String representation of this path entry suitable for use in debugging.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GosuPathEntry

        public GosuPathEntry​(IDirectory root,
                             java.util.List<? extends IDirectory> srcs)
        Constructs a new GosuPathEntry with the specified data. None of the arguments are allowed to be null. Typeloader names should be fully-qualified Java class names.
        Parameters:
        root - the root IDirectory for this path entry
        srcs - the set of IDirectories for this entry that should be considered to be source directories
    • Method Detail

      • getRoot

        public IDirectory getRoot()
        Returns the root directory for this GosuPathEntry. This method will never return null.
        Returns:
        the root directory
      • getSources

        public java.util.List<? extends IDirectory> getSources()
        Returns the source directories for this path entry. This method will never return null.
        Returns:
        the source directories
      • toDebugString

        public java.lang.String toDebugString()
        Returns a String representation of this path entry suitable for use in debugging.
        Returns:
        a debug String representation of this object
      • toString

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