public class CreateAccessUrlsAction
extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
Constructor and Description |
---|
CreateAccessUrlsAction(java.util.List<AccessUrl> accessUrls)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
performAction(java.io.File product,
FileObject fileObject)
Create access urls for the given file object.
|
boolean |
performAction(java.io.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 CreateAccessUrlsAction(java.util.List<AccessUrl> accessUrls)
accessUrls
- A list of access urls.public boolean performAction(java.io.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 java.util.List<java.lang.String> performAction(java.io.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.