01: /*
02: * ParameterPrompter.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.interfaces;
13:
14: /**
15: *
16: * @author support@sql-workbench.net
17: */
18: public interface ParameterPrompter {
19: /**
20: * Process the given SQL and prompt for any needed
21: * parameters. Either WB parameters or prepared statements
22: * @return true - continue processing
23: * false - do not run that statement
24: */
25: boolean processParameterPrompts(String sql);
26: }
|