public interface JZtxtcmdEngine
extends javax.script.ScriptEngine
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | sVersionVersion, history and license. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | evalSub(java.io.File fileScript,
       java.lang.String subroutine,
       java.util.Map<java.lang.String,DataAccess.Variable<java.lang.Object>> args,
       JZtxtcmdExecuter.ExecuteLevel execLevel)Executes a sub routine in a given script, which should be translated firstly. | 
static final java.lang.String sVersion
JZtxtcmdExecuter to the ScriptEngine is necessary.
 java.lang.Object evalSub(java.io.File fileScript,
                         java.lang.String subroutine,
                         java.util.Map<java.lang.String,DataAccess.Variable<java.lang.Object>> args,
                         JZtxtcmdExecuter.ExecuteLevel execLevel)
                  throws javax.script.ScriptException
 { ## any KZcmd script
     Map args;
     String args.name  = value;
     java org.vishia.zcmd.JZcmd.execSub(File:"path/JZcmdscript.jzcmd", "class.subroutine-Name", args, jzcmdsub);
 }
 fileScript - The file which contains the scriptsubroutine - name of the subroutine in the script.args - Arguments for this subroutine. They should be matching to the subroutine's formal arguments.execLevel - Execution level from where this routine is called.javax.script.ScriptException