Changeset 3683


Ignore:
Timestamp:
2003-01-17T10:46:36+13:00 (21 years ago)
Author:
kjdon
Message:

small changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java

    r3661 r3683  
    66import org.w3c.dom.Element;
    77
     8/** base class for collection construction */
    89public abstract class CollectionConstructor
    910    extends Thread {
     
    1415    public static final int ACTIVATE = 3;
    1516
     17    /** the site in which building is to take place */
    1618    protected String site_home_ = null;
     19    /** the name of the collection */
    1720    protected String collection_name_ = null;
     21    /** the stage of construction */
    1822    protected int process_type_ = -1;
     23    /** other arguments/parameters for the construction process - in a paramList */
    1924    protected Element process_params_ = null;
     25    /** the list of listeners for the process */
    2026    protected EventListenerList listeners_ = null;
    2127    /** A flag used to determine if this process has been asked to cancel. */
     
    2733    }
    2834   
     35    /** carry out any set up stuff - returns false if couldn't set up properly
     36     */
     37    public boolean configure() {
     38    return true;
     39    }
    2940    public void stopAction() {
    3041    cancel_ = true;
     
    97108        return;
    98109    }
    99     if (site_home_==null) { && collection_name_==null) {
     110    if (site_home_==null) {
    100111        msg = "Error: you must set site_home";
    101112        evt = new ConstructionEvent(this, GSStatus.ERROR, msg);
Note: See TracChangeset for help on using the changeset viewer.