Call the CasCrawler.updateCrawl() method to change the configuration settings for an existing crawl.

The syntax of the method is:

CasCrawler.updateCrawl(CrawlConfig crawlConfig)

The crawlConfig parameter is a CrawlConfig object that has the configuration settings of the crawl.

If you update a crawl configuration and specify an empty ModuleProperty for a password property, the crawl configuration reuses the password stored on CAS Server.

To update the configuration settings of an existing crawl:

If the CasCrawler.updateCrawl() method fails, it throws an exception:

To catch these exceptions, use a try block when you issue the method.


Copyright © Legal Notices