| java.lang.Object gnu.expr.ModuleInfo
ModuleInfo | public class ModuleInfo (Code) | | |
className | public String className(Code) | | Name of class that implements module.
Must be non-null unless we're currently compiling the module,
in which case sourcePath and comp must both be non-null.
|
lastCheckedTime | public long lastCheckedTime(Code) | | |
lastModifiedTime | public long lastModifiedTime(Code) | | |
numDependencies | int numDependencies(Code) | | |
sourcePath | public String sourcePath(Code) | | Location of source for module, if known.
This is an absolute URI, absolute filename,
or filename relative to current working directory.
Null if source not known; in that case className must be non-null.
|
checkCurrent | public boolean checkCurrent(ModuleManager manager, long now)(Code) | | Check if this module and its dependencies are up-to-dete.
Only checks the sourcePath's modification time if it is at least
ModifiedCacheTime since last time we checked.
As as side-effects update lastModifiedTime and lastCheckedTime.
|
clearClass | public void clearClass()(Code) | | |
getNamespaceUri | public String getNamespaceUri()(Code) | | The namespace URI associated with this module, or
null .
This is null for Scheme modules, but non-null for XQuery modules.
|
getSourceAbsPath | public Path getSourceAbsPath()(Code) | | |
getSourceAbsPathname | public String getSourceAbsPathname()(Code) | | |
getState | public int getState()(Code) | | |
loadByStages | public void loadByStages(int wantedState)(Code) | | |
loadEager | public boolean loadEager(int wantedState)(Code) | | Eagerly process the module and dependencies.
true on success; false if we were unable to because ofan error or a cyclic dependency. |
setNamespaceUri | public void setNamespaceUri(String uri)(Code) | | |
setSourceAbsPath | public void setSourceAbsPath(Path path)(Code) | | |
setupModuleExp | public synchronized ModuleExp setupModuleExp()(Code) | | If module has LAZY_DECLARATIONS, fix that.
|
|
|