|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.webharvest.extensions.localfolder.LocalFolderDataProcessor
public class LocalFolderDataProcessor
Local folder data processor.
| Constructor Summary | |
|---|---|
LocalFolderDataProcessor(String name,
File rootFolder,
MessageBroker messageBroker,
String baseContextPath,
Harvester.Listener listener,
Suspender suspender)
Creates instance of the processor. |
|
| Method Summary | |
|---|---|
String |
getName()
Gets name of the processor. |
void |
onEnd(ExecutionUnit unit,
boolean success)
Called upon the end of harvesting of the resource. |
void |
onIterationException(ExecutionUnit unit,
Exception ex)
Called upon iteration exception. |
void |
onMetadata(ExecutionUnit unit,
Publishable record)
Called uppon harvesting a single metadata. |
void |
onStart(ExecutionUnit unit)
Called upon the start of harvesting the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalFolderDataProcessor(String name,
File rootFolder,
MessageBroker messageBroker,
String baseContextPath,
Harvester.Listener listener,
Suspender suspender)
name - name of the processorrootFolder - root foldermessageBroker - message brokerbaseContextPath - base context pathlistener - listener (optional)suspender - suspender (optional)| Method Detail |
|---|
public String getName()
DataProcessor
getName in interface DataProcessor
public void onEnd(ExecutionUnit unit,
boolean success)
DataProcessor
onEnd in interface DataProcessorunit - execution unit
public void onIterationException(ExecutionUnit unit,
Exception ex)
DataProcessor
onIterationException in interface DataProcessorunit - execution unitex - exception
public void onMetadata(ExecutionUnit unit,
Publishable record)
throws IOException,
SQLException,
CatalogIndexException,
TransformerConfigurationException
DataProcessor
onMetadata in interface DataProcessorunit - execution unitrecord - record to publish
IOException - if reading metadata fails
SQLException - if processing metadata fails
CatalogIndexException - if operation on index fails
TransformerConfigurationException - if processing metadata failspublic void onStart(ExecutionUnit unit)
DataProcessor
onStart in interface DataProcessorunit - execution unit
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||