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 TypeMethodDescriptionvoid
configure
(IRecordHandlerManager manager, Map<String, IRecordHandlerManager> registeredManagers, Map<String, IRecordHandler> registeredRecordHandlers, Map<String, IResultHandler> registeredResultHandlers, IResultHandler defaultHandler) Deprecated.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.void
setCloseBlockAfterLine
(String blockName) Deprecated.Instructs the resultHandler to end the specified block after the parsed line is processedvoid
setCloseBlockBeforeLine
(String blockName) Deprecated.Instructs the resultHandler to end the specified block before the parsed line is processedvoid
Deprecated.void
setNextRecordHandlerManagerRef
(String nextRecordHandlerManagerName) Deprecated.Name of the manager to be used after handling this recordvoid
setOpenBlockAfterLine
(String blockName) Deprecated.Instructs the resultHandler to start a new block after the parsed line is processedvoid
setOpenBlockBeforeLine
(String blockName) Deprecated.Instructs the resultHandler to start a new block before the parsed line is processedvoid
setOpenBlockBeforeLineNumber
(int i) Deprecated.If >0 theopenBlockBeforeLine
instruction is only performed when the current line number is a multiple of this valuevoid
setRecordHandler
(IRecordHandler handler) Deprecated.void
setRecordHandlerManagerRef
(String recordHandlerManagerName) Deprecated.Name of the manager to which this flow must be addedvoid
setRecordHandlerRef
(String recordHandlerName) Deprecated.Name of the recordHandler to be used to transform records of the type specified in the key (optional)void
setRecordKey
(String recordKey) Deprecated.Key under which this flow is registered in the managervoid
setResultHandler
(IResultHandler handler) Deprecated.void
setResultHandlerRef
(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 theopenBlockBeforeLine
instruction is only performed when the current line number is a multiple of this value- Default value
- 0
-