toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RecrawlBehavior.crawlEverything:
      return 'CRAWL_EVERYTHING';
    case RecrawlBehavior.crawlNewFoldersOnly:
      return 'CRAWL_NEW_FOLDERS_ONLY';
  }
}