public class CreateAccessUrlsAction
extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
Constructor and Description |
---|
CreateAccessUrlsAction(List<AccessUrl> accessUrls)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
performAction(File product,
FileObject fileObject)
Create access urls for the given file object.
|
boolean |
performAction(File product,
gov.nasa.jpl.oodt.cas.metadata.Metadata metadata)
Perform the action to create a set of access urls for the given product.
|
void |
setRegisterFileUrls(boolean registerFileUrls) |
public boolean performAction(File product, gov.nasa.jpl.oodt.cas.metadata.Metadata metadata) throws gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
performAction
in class gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
product
- A PDS product.metadata
- The metadata associated with the product.gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
public List<String> performAction(File product, FileObject fileObject)
product
- The file associated with the given file object.fileObject
- The file object.public void setRegisterFileUrls(boolean registerFileUrls)
Copyright © 2010–2018 Planetary Data System. All rights reserved.