Package org.frankframework.core
Class PipeForward
java.lang.Object
org.frankframework.core.PipeForward
Appears inside a pipe and defines what pipe or exit to execute next. When the
execution of a pipe is done, the pipe looks up the next pipe or exit to execute.
This pipe or exit is searched based on a key that describes what happened during
pipe execution. For example a
Each
FixedResultPipe
searches for key
filenotfound
if it tried to read a file that did not exist,
preventing it from producing the desired output message. If there was
no error, the FixedResultPipe
searches for key success
.
Each
<Forward>
tag is used to link a search key (name
attribute)
to a pipe or exit to execute next (path
attribute). The forward's path
attribute references the target pipe or exit by its name
attribute, see
AbstractPipe
and PipeLineExit
. For most pipes and most keys, the next
pipe is executed if no forward is found. By default, the pipes in a pipeline are executed consecutively.- Author:
- Johan Verrips
- See Also:
-
Field Details
-
SUCCESS_FORWARD_NAME
- See Also:
-
EXCEPTION_FORWARD_NAME
- See Also:
-
-
Constructor Details
-
PipeForward
-
PipeForward
public PipeForward()
-
-
Method Details
-
setName
thename
is a symbolic reference to apath
. -
setPath
The name of the next Pipe or Exit. When the Pipeline doesn't have an Exits element configured it will be initialized with one Exit having name READY and state SUCCESS -
toString
uses reflection to return the value -
getName
-
getPath
-