com.raritantechnologies.verity.collection
Class VerityCollectionBuilder
java.lang.Object
com.raritantechnologies.verity.collection.VerityCollectionBuilder
- All Implemented Interfaces:
- ICollectionBuilder, IGatewayListener
- public class VerityCollectionBuilder
- extends java.lang.Object
- implements ICollectionBuilder, IGatewayListener
Central dispatcher for Verity collection builds.
Uses an ICollectionGateway to collect data for indexing (in form of IResultSet ).
Dispatches data to IGatewayOutputProcessor to process the IResultSet(s) and build the collections,
style files, parametric indexes or other outputs.
Constructed from XML configuration file by XMLCollectionBuilderFactory.
Command Line Argument Syntax:
[GatewayName]:[parameterName]=[parameterValue]
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerityCollectionBuilder
public VerityCollectionBuilder()
VerityCollectionBuilder
public VerityCollectionBuilder(ICollectionGateway gateway,
IGatewayOutputProcessor gatewayProc)
setCollectionGateway
public void setCollectionGateway(ICollectionGateway collGateway)
getCollectionGateway
public ICollectionGateway getCollectionGateway()
- Specified by:
getCollectionGateway in interface ICollectionBuilder
setGatewayProcessor
public void setGatewayProcessor(IGatewayOutputProcessor gatewayProc)
getGatewayOutputProcessor
public IGatewayOutputProcessor getGatewayOutputProcessor()
- Specified by:
getGatewayOutputProcessor in interface ICollectionBuilder
createCollection
public void createCollection(java.lang.String[] args)
- Specified by:
createCollection in interface ICollectionBuilder
processData
public void processData(IResultSet dataSet)
- processData method is part of the IGatewayListener interface.
called by the ICollectionGateway
- Specified by:
processData in interface IGatewayListener
dataComplete
public void dataComplete(java.lang.Object gateway)
- Description copied from interface:
IGatewayListener
- Message sent by ICollectionGateway after the last IResultSet has been submitted
for processing.
- Specified by:
dataComplete in interface IGatewayListener
gatewayFailed
public void gatewayFailed(java.lang.String message)
- Specified by:
gatewayFailed in interface IGatewayListener
addGatewayListener
public void addGatewayListener(IGatewayListener gatewayListener)
- Specified by:
addGatewayListener in interface ICollectionBuilder
getBuildStatus
public int getBuildStatus()
- Specified by:
getBuildStatus in interface ICollectionBuilder
setQueueLimit
public void setQueueLimit(int qLimit)