View Javadoc

1   /*
2    * Copyright 2004 Piotr Maj
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package pl.kernelpanic.dbmonster;
17  
18  /***
19   * @author Piotr Maj <ant@kernelpanic.pl>
20   *
21   * @version $Revision: 1.1 $ $Date: 2007/06/21 08:38:14 $
22   */
23  public class ProgressMonitorAdapter implements ProgressMonitor {
24  
25      protected int schemasCount = 0;
26      protected int tablesCount = 0;
27      protected int rowsCount = 0;
28      protected String schemaName;
29      protected String tableName;
30      
31      public void setUp() {
32      }
33  
34      public void tearDown() {
35      }
36  
37      public void reset() {
38      }
39  
40      public void resetTables() {
41      }
42  
43      public void resetRows() {
44      }
45  
46      public void setSchemaCount(int count) {
47          schemasCount = count;
48      }
49  
50      public void setTableCount(int count) {
51          tablesCount = count;
52      }
53  
54      public void setRowsCount(int count) {
55          rowsCount = count;
56      }
57  
58      public void schemaComplete() {
59      }
60  
61      public void tableComplete() {
62      }
63  
64      public void rowComplete() {
65      }
66  
67      public void setSchemaName(String name) {
68          schemaName = name;
69      }
70  
71      public void setTableName(String name) {
72          tableName = name;
73      }
74  }