Changeset 3683
- Timestamp:
- 2003-01-17T10:46:36+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java
r3661 r3683 6 6 import org.w3c.dom.Element; 7 7 8 /** base class for collection construction */ 8 9 public abstract class CollectionConstructor 9 10 extends Thread { … … 14 15 public static final int ACTIVATE = 3; 15 16 17 /** the site in which building is to take place */ 16 18 protected String site_home_ = null; 19 /** the name of the collection */ 17 20 protected String collection_name_ = null; 21 /** the stage of construction */ 18 22 protected int process_type_ = -1; 23 /** other arguments/parameters for the construction process - in a paramList */ 19 24 protected Element process_params_ = null; 25 /** the list of listeners for the process */ 20 26 protected EventListenerList listeners_ = null; 21 27 /** A flag used to determine if this process has been asked to cancel. */ … … 27 33 } 28 34 35 /** carry out any set up stuff - returns false if couldn't set up properly 36 */ 37 public boolean configure() { 38 return true; 39 } 29 40 public void stopAction() { 30 41 cancel_ = true; … … 97 108 return; 98 109 } 99 if (site_home_==null) { && collection_name_==null) {110 if (site_home_==null) { 100 111 msg = "Error: you must set site_home"; 101 112 evt = new ConstructionEvent(this, GSStatus.ERROR, msg);
Note:
See TracChangeset
for help on using the changeset viewer.