01: /*
02: * RowActionMonitor.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.storage;
13:
14: /**
15: *
16: * @author support@sql-workbench.net
17: */
18: public interface RowActionMonitor {
19: final int MONITOR_INSERT = 0;
20: final int MONITOR_UPDATE = 1;
21: final int MONITOR_LOAD = 2;
22: final int MONITOR_EXPORT = 3;
23: final int MONITOR_COPY = 4;
24: final int MONITOR_PROCESS_TABLE = 5;
25: final int MONITOR_PROCESS = 6;
26: final int MONITOR_PLAIN = 7;
27:
28: void setMonitorType(int aType);
29:
30: int getMonitorType();
31:
32: void saveCurrentType(String type);
33:
34: void restoreType(String type);
35:
36: void setCurrentObject(String object, long number, long totalObjects);
37:
38: void setCurrentRow(long currentRow, long totalRows);
39:
40: void jobFinished();
41: }
|