Package org.cyclos.db
Interface DatabasePopulator
-
- All Superinterfaces:
CustomBean
- All Known Implementing Classes:
AbstractDatabasePopulator,BasicPopulator
public interface DatabasePopulator extends CustomBean
Implementors of this interface are capable of populating the database when it is empty.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDisplayName()Should a descriptive name for the kind of database is being createdstatic voidinPopulator()Marks a populator is runningstatic booleanisInPopulator()Tests if a populator is running.voidpopulate()Populates the database with data
-
-
-
Method Detail
-
inPopulator
static void inPopulator()
Marks a populator is running
-
isInPopulator
static boolean isInPopulator()
Tests if a populator is running.
-
getDisplayName
String getDisplayName()
Should a descriptive name for the kind of database is being created
-
populate
void populate()
Populates the database with data
-
-