|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.kernelpanic.dbmonster.ProgressMonitorAdapter
public class ProgressMonitorAdapter
| Field Summary | |
|---|---|
protected int |
rowsCount
|
protected String |
schemaName
|
protected int |
schemasCount
|
protected String |
tableName
|
protected int |
tablesCount
|
| Constructor Summary | |
|---|---|
ProgressMonitorAdapter()
|
|
| Method Summary | |
|---|---|
void |
reset()
Resets all settings. |
void |
resetRows()
Reset rows. |
void |
resetTables()
Resets tables. |
void |
rowComplete()
Called when row is complete. |
void |
schemaComplete()
Called when schema is completed. |
void |
setRowsCount(int count)
Sets the number of rows. |
void |
setSchemaCount(int count)
Sets the schema count. |
void |
setSchemaName(String name)
Sets the name of the schema being generated. |
void |
setTableCount(int count)
Sets the table count. |
void |
setTableName(String name)
Sets the name of the table being generated. |
void |
setUp()
Called on startup. |
void |
tableComplete()
Called when table is completed. |
void |
tearDown()
Called after the work is over. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int schemasCount
protected int tablesCount
protected int rowsCount
protected String schemaName
protected String tableName
| Constructor Detail |
|---|
public ProgressMonitorAdapter()
| Method Detail |
|---|
public void setUp()
ProgressMonitor
setUp in interface ProgressMonitorpublic void tearDown()
ProgressMonitor
tearDown in interface ProgressMonitorpublic void reset()
ProgressMonitor
reset in interface ProgressMonitorpublic void resetTables()
ProgressMonitor
resetTables in interface ProgressMonitorpublic void resetRows()
ProgressMonitor
resetRows in interface ProgressMonitorpublic void setSchemaCount(int count)
ProgressMonitor
setSchemaCount in interface ProgressMonitorcount - number of schemas.public void setTableCount(int count)
ProgressMonitor
setTableCount in interface ProgressMonitorcount - number of tables.public void setRowsCount(int count)
ProgressMonitor
setRowsCount in interface ProgressMonitorcount - number of rowspublic void schemaComplete()
ProgressMonitor
schemaComplete in interface ProgressMonitorpublic void tableComplete()
ProgressMonitor
tableComplete in interface ProgressMonitorpublic void rowComplete()
ProgressMonitor
rowComplete in interface ProgressMonitorpublic void setSchemaName(String name)
ProgressMonitor
setSchemaName in interface ProgressMonitorname - schema namepublic void setTableName(String name)
ProgressMonitor
setTableName in interface ProgressMonitorname - table name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||