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.RegistryClientExceptionMalformedURLExceptionpublic 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.CrawlerActionproduct - The file containing the associations.productMetadata - The metadata associated with the given product.gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionExceptionCopyright © 2010–2015 Planetary Data System. All rights reserved.