gov.nasa.pds.harvest.crawler.actions
Class AssociationPublisherAction

java.lang.Object
  extended by gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
      extended by gov.nasa.pds.harvest.crawler.actions.AssociationPublisherAction
All Implemented Interfaces:
gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType, PDSCoreMetKeys

public class AssociationPublisherAction
extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
implements PDSCoreMetKeys

Class to publish associations to the PDS Registry Service upon successful ingestion of the product.

Author:
mcayanan

Field Summary
 
Fields inherited from class gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
LOG, phases
 
Fields inherited from interface gov.nasa.pds.harvest.crawler.metadata.PDSCoreMetKeys
LOGICAL_ID, OBJECT_TYPE, PRODUCT_VERSION, REFERENCES, TITLE
 
Constructor Summary
AssociationPublisherAction(String registryUrl)
           
AssociationPublisherAction(String registryUrl, String user, String token)
           
 
Method Summary
 boolean performAction(File product, gov.nasa.jpl.oodt.cas.metadata.Metadata productMetadata)
           
 
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
getDescription, getId, getPhases, setDescription, setId, setPhases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationPublisherAction

public AssociationPublisherAction(String registryUrl)

AssociationPublisherAction

public AssociationPublisherAction(String registryUrl,
                                  String user,
                                  String token)
Method Detail

performAction

public boolean performAction(File product,
                             gov.nasa.jpl.oodt.cas.metadata.Metadata productMetadata)
                      throws gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
Specified by:
performAction in class gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
Throws:
gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException


Copyright © 2005-2010 Planetary Data System. All Rights Reserved.