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