Package org.codelibs.fess.exec
Class Crawler.Options
java.lang.Object
org.codelibs.fess.exec.Crawler.Options
- Enclosing class:
Crawler
Command-line options container for the crawler application.
This class uses args4j annotations to define command-line arguments
and provides methods to parse and access configuration values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionComma-separated list of data store configuration IDs to crawl.Number of days after which documents should expire and be cleaned up.Comma-separated list of file system configuration IDs to crawl.Interval in milliseconds for hot thread monitoring and logging.Name for the crawling session for identification purposes.Path to properties file for system configuration overrides.Session ID for the crawling session.Comma-separated list of web configuration IDs to crawl. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParses the data configuration IDs string into a list.Parses the file configuration IDs string into a list.Parses the web configuration IDs string into a list.toString()Returns a string representation of this Options object.
-
Field Details
-
sessionId
Session ID for the crawling session. If not provided, a timestamp-based ID will be generated. -
name
Name for the crawling session for identification purposes. -
webConfigIds
Comma-separated list of web configuration IDs to crawl. -
fileConfigIds
Comma-separated list of file system configuration IDs to crawl. -
dataConfigIds
Comma-separated list of data store configuration IDs to crawl. -
propertiesPath
Path to properties file for system configuration overrides. -
expires
Number of days after which documents should expire and be cleaned up. -
hotThread
Interval in milliseconds for hot thread monitoring and logging.
-
-
Constructor Details
-
Options
protected Options()Default constructor for Options. Protected to allow subclassing while preventing direct instantiation.
-
-
Method Details
-
getWebConfigIdList
Parses the web configuration IDs string into a list.- Returns:
- list of web configuration IDs, or null if none specified
-
getFileConfigIdList
Parses the file configuration IDs string into a list.- Returns:
- list of file configuration IDs, or null if none specified
-
getDataConfigIdList
Parses the data configuration IDs string into a list.- Returns:
- list of data configuration IDs, or null if none specified
-
toString
Returns a string representation of this Options object. Contains all option values for debugging and logging purposes.
-