Package gw.lang.init
Class GosuPathEntry
- java.lang.Object
-
- gw.lang.init.GosuPathEntry
-
public class GosuPathEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IDirectory_rootprivate java.util.List<? extends IDirectory>_srcs
-
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 IDirectorygetRoot()Returns the root directory for this GosuPathEntry.java.util.List<? extends IDirectory>getSources()Returns the source directories for this path entry.java.lang.StringtoDebugString()Returns a String representation of this path entry suitable for use in debugging.java.lang.StringtoString()
-
-
-
Field Detail
-
_root
private IDirectory _root
-
_srcs
private java.util.List<? extends IDirectory> _srcs
-
-
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 entrysrcs- 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:
toStringin classjava.lang.Object
-
-