Package net.hydromatic.quidem
Interface Command.Context
- Enclosing interface:
Command
public static interface Command.Context
Execution context for a command.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResult(boolean execute, boolean output, Command.ResultChecker checker) voidenv()booleanexecute()voidvoidupdate(String sql, boolean execute, boolean output, Command.ResultChecker checker) voidwriter()
-
Method Details
-
writer
PrintWriter writer() -
connection
Connection connection() -
refConnection
Connection refConnection() -
env
-
use
- Throws:
Exception
-
checkResult
- Throws:
Exception
-
update
void update(String sql, boolean execute, boolean output, Command.ResultChecker checker) throws Exception - Throws:
Exception
-
stack
-
echo
-
previousSqlCommand
Quidem.SqlCommand previousSqlCommand() -
execute
boolean execute()
-