mess.extensions
Class MessLoadScript
java.lang.Object
|
+--mess.extensions.MessLoadScript
- All Implemented Interfaces:
- Userfunction
- Direct Known Subclasses:
- MessIncludeScript
- public class MessLoadScript
- extends Object
- implements Userfunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scripts
protected HashSet scripts
MessLoadScript
public MessLoadScript(MessAgent nm)
getName
public String getName()
- Specified by:
getName
in interface Userfunction
call
public Value call(ValueVector vv,
Context c)
throws JessException
- returns number of scripts that loaded properly
- Specified by:
call
in interface Userfunction
loadScript
protected boolean loadScript(String name)
throws RemoteException
isLoaded
protected boolean isLoaded(String scriptName)
- Returns true if the script scriptName has already been
loaded. False otherwise
getLoadedScriptsIterator
protected Iterator getLoadedScriptsIterator()
- Returns an iterator with all scripts that have been loaded
(using loadScript or includeScript) until now