01: /*
02: *
03: */
04:
05: package org.enhydra.snapperAdmin.spec;
06:
07: import java.sql.Timestamp;
08: import java.util.Properties;
09: import java.util.Vector;
10:
11: import org.enhydra.snapperAdmin.spec.Path;
12: import org.enhydra.snapperAdmin.spec.Site;
13:
14: public interface UpdaterSpec {
15:
16: public void updateIndex(Site site, Path[] pathArray);
17:
18: public int getDocumentNo();
19:
20: public Vector getNotIndexed();
21:
22: public void setMeta(String db, String table, String file,
23: String key, String value);
24:
25: public void setDoStop(boolean n) throws Exception;
26:
27: public void setIndexContents(boolean indexContent);
28:
29: public void setIndexUnknownFileTypes(boolean indexContent);
30:
31: public void setIndexDirectory(boolean index);
32:
33: public void setIndexFileTypes(Properties prop);
34:
35: public void setLogFileName(String logFileName);
36:
37: public void setStartTime(Timestamp time);
38:
39: public void updateTimeFile(String path, Timestamp time);
40:
41: public long readTimeFile(String path);
42: }
|