Package org.frankframework.batch
Class RecordHandlingFlow
java.lang.Object
org.frankframework.batch.RecordHandlingFlow
Deprecated.
Warning: non-maintained functionality.
The flow contains the handlers to handle records of a specific type.
Each flow is registered to a manager using the recordHandlerManagerRef.
- Author:
- John Dekker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(IRecordHandlerManager manager, Map<String, IRecordHandlerManager> registeredManagers, Map<String, IRecordHandler> registeredRecordHandlers, Map<String, IResultHandler> registeredResultHandlers, IResultHandler defaultHandler) Deprecated.voidsetAutoCloseBlock(boolean b) Deprecated.Iftrue, any open block of this type (and other nested open 'autoClose' block) is closed before a new one of the same type is opened.voidsetCloseBlockAfterLine(String blockName) Deprecated.Instructs the resultHandler to end the specified block after the parsed line is processedvoidsetCloseBlockBeforeLine(String blockName) Deprecated.Instructs the resultHandler to end the specified block before the parsed line is processedvoidDeprecated.voidsetNextRecordHandlerManagerRef(String nextRecordHandlerManagerName) Deprecated.Name of the manager to be used after handling this recordvoidsetOpenBlockAfterLine(String blockName) Deprecated.Instructs the resultHandler to start a new block after the parsed line is processedvoidsetOpenBlockBeforeLine(String blockName) Deprecated.Instructs the resultHandler to start a new block before the parsed line is processedvoidsetOpenBlockBeforeLineNumber(int i) Deprecated.If >0 theopenBlockBeforeLineinstruction is only performed when the current line number is a multiple of this valuevoidsetRecordHandler(IRecordHandler handler) Deprecated.voidsetRecordHandlerManagerRef(String recordHandlerManagerName) Deprecated.Name of the manager to which this flow must be addedvoidsetRecordHandlerRef(String recordHandlerName) Deprecated.Name of the recordHandler to be used to transform records of the type specified in the key (optional)voidsetRecordKey(String recordKey) Deprecated.Key under which this flow is registered in the managervoidsetResultHandler(IResultHandler handler) Deprecated.voidsetResultHandlerRef(String resultHandlerName) Deprecated.Name of the resultHandler to be used to handle the transformed result
-
Field Details
-
log
protected org.apache.logging.log4j.Logger logDeprecated.
-
-
Constructor Details
-
RecordHandlingFlow
public RecordHandlingFlow()Deprecated.
-
-
Method Details
-
configure
public void configure(IRecordHandlerManager manager, Map<String, IRecordHandlerManager> registeredManagers, Map<String, throws ConfigurationExceptionIRecordHandler> registeredRecordHandlers, Map<String, IResultHandler> registeredResultHandlers, IResultHandler defaultHandler) Deprecated.- Throws:
ConfigurationException
-
setRecordHandler
Deprecated. -
setResultHandler
Deprecated. -
setNextRecordHandlerManager
Deprecated. -
setRecordKey
Deprecated.Key under which this flow is registered in the manager -
setNextRecordHandlerManagerRef
Deprecated.Name of the manager to be used after handling this record -
setRecordHandlerRef
Deprecated.Name of the recordHandler to be used to transform records of the type specified in the key (optional) -
setRecordHandlerManagerRef
Deprecated.Name of the manager to which this flow must be added -
setResultHandlerRef
Deprecated.Name of the resultHandler to be used to handle the transformed result -
setOpenBlockBeforeLine
Deprecated.Instructs the resultHandler to start a new block before the parsed line is processed -
setCloseBlockBeforeLine
Deprecated.Instructs the resultHandler to end the specified block before the parsed line is processed -
setOpenBlockAfterLine
Deprecated.Instructs the resultHandler to start a new block after the parsed line is processed -
setCloseBlockAfterLine
Deprecated.Instructs the resultHandler to end the specified block after the parsed line is processed -
setAutoCloseBlock
public void setAutoCloseBlock(boolean b) Deprecated.Iftrue, any open block of this type (and other nested open 'autoClose' block) is closed before a new one of the same type is opened. At a forced close, nested blocks are closed too (since 4.9)- Default value
- true
-
setOpenBlockBeforeLineNumber
public void setOpenBlockBeforeLineNumber(int i) Deprecated.If >0 theopenBlockBeforeLineinstruction is only performed when the current line number is a multiple of this value- Default value
- 0
-