public class AssociationAction
extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
Constructor and Description |
---|
AssociationAction(String registryUrl,
RegistryIngester ingester)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
performAction(File product,
gov.nasa.jpl.oodt.cas.metadata.Metadata metadata)
Publish the association.
|
public AssociationAction(String registryUrl, RegistryIngester ingester) throws MalformedURLException
registryUrl
- The URL to the registry service.ingester
- The registry ingester.RegistryClientException
MalformedURLException
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
- The file containing the associations.productMetadata
- The metadata associated with the given product.gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
Copyright © 2010–2015 Planetary Data System. All rights reserved.