Class TitleLengthCheckerAction
- java.lang.Object
- 
- gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
- 
- gov.nasa.pds.harvest.search.crawler.actions.TitleLengthCheckerAction
 
 
- 
- All Implemented Interfaces:
- gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType
 
 public class TitleLengthCheckerAction extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerActionPre-ingest Crawler Action that checks to see that the title value is less than 255 characters.- Author:
- mcayanan
 
- 
- 
Constructor SummaryConstructors Constructor Description TitleLengthCheckerAction()Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanperformAction(File product, gov.nasa.jpl.oodt.cas.metadata.Metadata metadata)Performs the crawler action that verifies that the title value is less than 255 characters.
 
- 
- 
- 
Method Detail- 
performActionpublic boolean performAction(File product, gov.nasa.jpl.oodt.cas.metadata.Metadata metadata) throws gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException Performs the crawler action that verifies that the title value is less than 255 characters.- Specified by:
- performActionin class- gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
- Parameters:
- product- The product file.
- metadata- The product metadata.
- Throws:
- gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException- None thrown.
 
 
- 
 
-