Changeset 19401 for gli/branches/incremental/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
- Timestamp:
- 2009-05-12T12:25:20+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/branches/incremental/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r16680 r19401 80 80 /** A manager of configuring depositor metadata */ 81 81 static public DepositorMetadataManager depositormetadata_manager; 82 82 83 /** These mark what needs to happen when building a collection where ONLY design options have been changed. 83 84 The build requirements of the higher numbers must include doing everything from the lower numbers. */ … … 86 87 static final public int NOTHING = 0; 87 88 static private int rebuildTypeRequired = NOTHING; //Rebuild type required if only design options have changed 89 90 /** This indicates whether a minimal or complete build is required. 91 Minimal means do everything with the -incremental flag. Complete means do everything with -removeold */ 92 static private boolean isCompleteBuild = false; 93 88 94 89 95 /** Constructor. Loads a certain collection configuration file, which is parsed into a DOM. This model is then registered with the command information managers, each of whom knows how to, and provides controls to, alter certain commands. … … 202 208 203 209 public static int getRebuildTypeRequired() { 204 return rebuildTypeRequired; 205 } 210 return rebuildTypeRequired; 211 } 212 206 213 public static void resetRebuildTypeRequired() { 207 214 setRebuildTypeRequired(NOTHING); 208 215 } 209 216 public static void setRebuildTypeRequired(int number) { 210 rebuildTypeRequired = number; 217 rebuildTypeRequired = number; 218 } 219 220 public static boolean isCompleteBuild() { 221 return isCompleteBuild; 222 } 223 public static void setCompleteBuild(boolean icb) { 224 isCompleteBuild = icb; 211 225 } 212 226
Note:
See TracChangeset
for help on using the changeset viewer.