pl.kernelpanic.dbmonster
Interface ProgressMonitor

All Known Implementing Classes:
ProgressMonitorAdapter

public interface ProgressMonitor

Basic interface for all progress monitors plug into DBMonster.

Version:
$Id: ProgressMonitor.java,v 1.1 2004/05/22 13:14:16 majek Exp $
Author:
Piotr Maj <pm@jcake.com>

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.
 

Method Detail

setUp

void setUp()
Called on startup.


tearDown

void tearDown()
Called after the work is over.


reset

void reset()
Resets all settings.


resetTables

void resetTables()
Resets tables.


resetRows

void resetRows()
Reset rows. Called before next table is processed.


setSchemaCount

void setSchemaCount(int count)
Sets the schema count.

Parameters:
count - number of schemas.

setTableCount

void setTableCount(int count)
Sets the table count.

Parameters:
count - number of tables.

setRowsCount

void setRowsCount(int count)
Sets the number of rows.

Parameters:
count - number of rows

schemaComplete

void schemaComplete()
Called when schema is completed.


tableComplete

void tableComplete()
Called when table is completed.


rowComplete

void rowComplete()
Called when row is complete.


setSchemaName

void setSchemaName(String name)
Sets the name of the schema being generated.

Parameters:
name - schema name

setTableName

void setTableName(String name)
Sets the name of the table being generated.

Parameters:
name - table name


Copyright © 2003-2006 .:. kernelpanic.pl .:.. All Rights Reserved.