public class RecordHandlerManager extends Object implements IRecordHandlerManager
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
Constructor and Description |
---|
RecordHandlerManager() |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(RecordHandlingFlow handlers)
Element that contains the handlers for a specific record type, to be assigned to the manager
|
void |
configure(Map<String,IRecordHandlerManager> registeredManagers,
Map<String,IRecordHandler> registeredRecordHandlers,
Map<String,IResultHandler> registeredResultHandlers,
IResultHandler defaultHandler) |
protected Map<String,RecordHandlingFlow> |
getFlowMap() |
IRecordHandlerManager |
getRecordFactoryUsingFilename(PipeLineSession session,
String inputFilename) |
RecordHandlingFlow |
getRecordHandler(PipeLineSession session,
String record) |
RecordHandlingFlow |
getRecordHandlerByKey(String recordKey)
Determines the recordhandler to use, based on key.
|
Collection<RecordHandlingFlow> |
getRecordHandlers() |
void |
setInitial(boolean b)
indicates if this manager is the initial manager
|
void |
setName(String string)
The functional name of the object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isInitial
getName
public IRecordHandlerManager getRecordFactoryUsingFilename(PipeLineSession session, String inputFilename)
getRecordFactoryUsingFilename
in interface IRecordHandlerManager
public void configure(Map<String,IRecordHandlerManager> registeredManagers, Map<String,IRecordHandler> registeredRecordHandlers, Map<String,IResultHandler> registeredResultHandlers, IResultHandler defaultHandler) throws ConfigurationException
configure
in interface IRecordHandlerManager
ConfigurationException
public void addHandler(RecordHandlingFlow handlers)
addHandler
in interface IRecordHandlerManager
public Collection<RecordHandlingFlow> getRecordHandlers()
protected Map<String,RecordHandlingFlow> getFlowMap()
public RecordHandlingFlow getRecordHandler(PipeLineSession session, String record) throws Exception
getRecordHandler
in interface IRecordHandlerManager
Exception
public RecordHandlingFlow getRecordHandlerByKey(String recordKey) throws Exception
Exception
public void setName(String string)
INamedObject
setName
in interface INamedObject
public void setInitial(boolean b)
IRecordHandlerManager
setInitial
in interface IRecordHandlerManager
Copyright © 2023 Frank!Framework. All rights reserved.