public class PipeForward extends Object
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
.
<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.PipeLine
,
AbstractPipe.findForward(java.lang.String)
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_FORWARD_NAME |
static String |
SUCCESS_FORWARD_NAME |
Constructor and Description |
---|
PipeForward() |
PipeForward(String name,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
setName(String name)
the
name is a symbolic reference to a path . |
void |
setPath(String path)
The name of the next Pipe or Exit.
|
String |
toString()
uses reflection to return the value
|
public static final String SUCCESS_FORWARD_NAME
public static final String EXCEPTION_FORWARD_NAME
@Mandatory public void setName(String name)
name
is a symbolic reference to a path
.@Mandatory public void setPath(String path)
Copyright © 2023 Frank!Framework. All rights reserved.