Call the IasCrawler.updateCrawl() method to change the configuration settings for an existing crawl.
IasCrawler.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 IAS Server.
To update the configuration settings of an existing crawl:
If the IasCrawler.updateCrawl() method fails, it throws an exception:
To catch these exceptions, use a try block when you call the method.