Class Crawler.Options

java.lang.Object
org.codelibs.fess.exec.Crawler.Options
Enclosing class:
Crawler

public static class Crawler.Options extends Object
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 Details

    • sessionId

      public String sessionId
      Session ID for the crawling session. If not provided, a timestamp-based ID will be generated.
    • name

      public String name
      Name for the crawling session for identification purposes.
    • webConfigIds

      public String webConfigIds
      Comma-separated list of web configuration IDs to crawl.
    • fileConfigIds

      public String fileConfigIds
      Comma-separated list of file system configuration IDs to crawl.
    • dataConfigIds

      public String dataConfigIds
      Comma-separated list of data store configuration IDs to crawl.
    • propertiesPath

      public String propertiesPath
      Path to properties file for system configuration overrides.
    • expires

      public String expires
      Number of days after which documents should expire and be cleaned up.
    • hotThread

      public Integer 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

      protected List<String> getWebConfigIdList()
      Parses the web configuration IDs string into a list.
      Returns:
      list of web configuration IDs, or null if none specified
    • getFileConfigIdList

      protected List<String> getFileConfigIdList()
      Parses the file configuration IDs string into a list.
      Returns:
      list of file configuration IDs, or null if none specified
    • getDataConfigIdList

      protected List<String> getDataConfigIdList()
      Parses the data configuration IDs string into a list.
      Returns:
      list of data configuration IDs, or null if none specified
    • toString

      public String toString()
      Returns a string representation of this Options object. Contains all option values for debugging and logging purposes.
      Overrides:
      toString in class Object
      Returns:
      string representation containing all option values