01: package com.xoetrope.data;
02:
03: import net.xoetrope.xui.XProject;
04:
05: /**
06: * An interface for prepartaion of resources
07: * <p> Copyright (c) Xoetrope Ltd., 2001-2007, This software is licensed under
08: * the GNU Public License (GPL), please see license.txt for more details. If
09: * you make commercial use of this software you must purchase a commercial
10: * license from Xoetrope.</p>
11: */
12: public interface PreparationTask {
13: /**
14: * Prepare the database
15: * @param project the owner project
16: * @param listener the object to be invoked when the prepatation task is complete
17: * @param tableName the name of a small table that will be loaded as part of the database loading process.
18: */
19: public void prepare(XProject project, PreparationListener listener,
20: String tableName);
21: }
|