Package gw.lang.init
Class GosuPathEntry
- java.lang.Object
-
- gw.lang.init.GosuPathEntry
-
public class GosuPathEntry extends Object
-
-
Constructor Summary
Constructors Constructor Description GosuPathEntry(IDirectory root, 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.List<? extends IDirectory>
getSources()
Returns the source directories for this path entry.String
toDebugString()
Returns a String representation of this path entry suitable for use in debugging.String
toString()
-
-
-
Constructor Detail
-
GosuPathEntry
public GosuPathEntry(IDirectory root, 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 List<? extends IDirectory> getSources()
Returns the source directories for this path entry. This method will never return null.- Returns:
- the source directories
-
toDebugString
public String toDebugString()
Returns a String representation of this path entry suitable for use in debugging.- Returns:
- a debug String representation of this object
-
-