Class CreateAccessUrlsAction
- java.lang.Object
- 
- gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
- 
- gov.nasa.pds.harvest.search.crawler.actions.CreateAccessUrlsAction
 
 
- 
- All Implemented Interfaces:
- gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType
 
 public class CreateAccessUrlsAction extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerActionClass that creates access urls based on a given set of base urls.- Author:
- mcayanan
 
- 
- 
Constructor SummaryConstructors Constructor Description CreateAccessUrlsAction(List<AccessUrl> accessUrls)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanperformAction(File product, gov.nasa.jpl.oodt.cas.metadata.Metadata metadata)Perform the action to create a set of access urls for the given product.List<String>performAction(File product, FileObject fileObject)Create access urls for the given file object.voidsetRegisterFileUrls(boolean registerFileUrls)
 
- 
- 
- 
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 Perform the action to create a set of access urls for the given product.- Specified by:
- performActionin class- gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
- Parameters:
- product- A PDS product.
- metadata- The metadata associated with the product.
- Returns:
- true if the action was successful.
- Throws:
- gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
 
 - 
performActionpublic List<String> performAction(File product, FileObject fileObject) Create access urls for the given file object.- Parameters:
- product- The file associated with the given file object.
- fileObject- The file object.
- Returns:
- a list of access urls.
 
 - 
setRegisterFileUrlspublic void setRegisterFileUrls(boolean registerFileUrls) 
 
- 
 
-