Search in sources :

Example 6 with Display

use of com.teradata.jaqy.interfaces.Display in project jaqy by Teradata.

the class ScriptCommand method parse.

@Override
public void parse(String action, Object value, boolean silent, Globals globals, JaqyInterpreter interpreter) throws Exception {
    if (!silent) {
        Display display = interpreter.getDisplay();
        display.echo(interpreter, action, false);
        display.echo(interpreter, ".end " + getName(), false);
    }
    interpreter.eval(action);
}
Also used : Display(com.teradata.jaqy.interfaces.Display)

Aggregations

Display (com.teradata.jaqy.interfaces.Display)6 Session (com.teradata.jaqy.Session)2 ReaderLineInput (com.teradata.jaqy.lineinput.ReaderLineInput)1 StringReader (java.io.StringReader)1 Properties (java.util.Properties)1 CommandLine (org.apache.commons.cli.CommandLine)1 Option (org.apache.commons.cli.Option)1