01: /*
02: * ProgressReporter.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 ProgressReporter {
19: /**
20: * The default progress interval when reporting
21: * progress of the export.
22: */
23: public static final int DEFAULT_PROGRESS_INTERVAL = 10;
24:
25: /**
26: * Define the interval in which progress messages are displayed.
27: * @param interval the interval, 0 means no progress display
28: */
29: void setReportInterval(int interval);
30: }
|