org.jenkinsci.plugins.tcl.interpreter
Class jTclCommandResolver
java.lang.Object
org.jenkinsci.plugins.tcl.interpreter.jTclCommandResolver
- All Implemented Interfaces:
- tcl.lang.Resolver
public class jTclCommandResolver
- extends Object
- implements tcl.lang.Resolver
Implements jtcl command resolver.
Commands can be registered via registerCommand()
All commands are stored at one namespace.
- Author:
- Oleg Nenashev
- See Also:
ITclCommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jTclCommandResolver
public jTclCommandResolver(tcl.lang.Interp interp,
String namespace)
RegisterCommand
public void RegisterCommand(ITclCommand command)
throws tcl.lang.TclException
- Throws:
tcl.lang.TclException
UnregisterCommand
public void UnregisterCommand(ITclCommand command)
resolveCmd
public tcl.lang.WrappedCommand resolveCmd(tcl.lang.Interp interp,
String string,
tcl.lang.Namespace nmspc,
int i)
throws tcl.lang.TclException
- Specified by:
resolveCmd in interface tcl.lang.Resolver
- Throws:
tcl.lang.TclException
resolveVar
public tcl.lang.Var resolveVar(tcl.lang.Interp interp,
String string,
tcl.lang.Namespace nmspc,
int i)
throws tcl.lang.TclException
- Specified by:
resolveVar in interface tcl.lang.Resolver
- Throws:
tcl.lang.TclException
checkNamespace
public boolean checkNamespace(String command,
tcl.lang.Namespace nmspc)
Copyright © 2004-2013. All Rights Reserved.