01: /*
02: *
03: */
04:
05: package org.enhydra.snapperAdmin.spec;
06:
07: import java.io.File;
08: import java.util.Properties;
09: import java.util.Vector;
10:
11: import org.enhydra.snapperAdmin.spec.Site;
12:
13: public interface IndexerBaseSpec {
14:
15: public void setDoStop(boolean n);
16:
17: public void indexInclude();
18:
19: public void indexMetaData();
20:
21: public void setUpIndexer(boolean parserAfterMetadata,
22: String siteName, String language, boolean create,
23: String classname);
24:
25: public void optimize();
26:
27: public void close();
28:
29: public void indexDocs(String siteName, String host,
30: String language, String location, String protocol,
31: String username, String password, boolean create);
32:
33: public boolean fileOK(File file);
34:
35: public void initChecker(int age, int size, Site site);
36:
37: public Vector getNotIndexed();
38:
39: public void setMeta(String db, String table, String file,
40: String key, String value);
41:
42: public void setExclude(String db, String table, String column);
43:
44: public void setInclude(String db, String table, String column,
45: String modified);
46:
47: public void setIndexContents(boolean indexContent);
48:
49: public void setIndexUnknownFileTypes(boolean indexUnknownFileTypes);
50:
51: public void setIndexDirectory(boolean indexDirectory);
52:
53: public void setIndexFileTypes(Properties prop);
54:
55: public void setIndexDiference(boolean index);
56:
57: public void setLogFileName(String logFileName);
58:
59: public boolean getIndexSizeReached();
60:
61: }
|