public class FilterNode extends Node
FilterNode instance
Filter node routes a message according to message content. You define the route by coding a filter expression in ESQL. See also JavaCompute node
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ xxxxx.x 2010-08-10 dstorey creation xxxxx.x xxxx-xx-xx generated 7.0.0.2 Release
Modifier and Type | Class and Description |
---|---|
static class |
FilterNode.ENUM_FILTER_TRANSACTION
ENUM_FILTER_TRANSACTION
|
Node.RotationKind
Modifier and Type | Field and Description |
---|---|
InputTerminal |
INPUT_TERMINAL_IN |
OutputTerminal |
OUTPUT_TERMINAL_FAILURE |
OutputTerminal |
OUTPUT_TERMINAL_FALSE |
OutputTerminal |
OUTPUT_TERMINAL_TRUE |
OutputTerminal |
OUTPUT_TERMINAL_UNKNOWN |
Constructor and Description |
---|
FilterNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
getConnectDatasourceBeforeFlowStarts()
Get the FilterNode "Connect before flow starts" property
|
java.lang.String |
getDataSource()
Get the FilterNode "Data source" property
|
ESQLModule |
getFilterExpression()
Get the FilterNode "Filter expression" property
|
InputTerminal[] |
getInputTerminals()
Gets the full list of available InputTerminals for this Node
|
java.lang.String |
getNodeName()
Gets the label name of this node
|
OutputTerminal[] |
getOutputTerminals()
Gets the full list of available OutputTerminals for this Node
|
boolean |
getThrowExceptionOnDatabaseError()
Get the FilterNode "Throw exception on database error" property
|
FilterNode.ENUM_FILTER_TRANSACTION |
getTransaction()
Get the FilterNode "Transaction" property
|
boolean |
getTreatWarningsAsErrors()
Get the FilterNode "Treat warnings as errors" property
|
java.lang.String |
getTypeName()
Gets the node type of this node
|
FilterNode |
setConnectDatasourceBeforeFlowStarts(boolean value)
Set the FilterNode "Connect before flow starts" property
|
FilterNode |
setDataSource(java.lang.String value)
Set the FilterNode "Data source" property
|
FilterNode |
setFilterExpression(ESQLModule value)
Set the FilterNode "Filter expression" property
|
FilterNode |
setThrowExceptionOnDatabaseError(boolean value)
Set the FilterNode "Throw exception on database error" property
|
FilterNode |
setTransaction(FilterNode.ENUM_FILTER_TRANSACTION value)
Set the FilterNode "Transaction" property
|
FilterNode |
setTreatWarningsAsErrors(boolean value)
Set the FilterNode "Treat warnings as errors" property
|
addNsmapping, clone, findPropertyByName, getInputTerminal, getInputTerminal, getInstanceNodeProperties, getLocation, getLongDescription, getMandatoryPropertyNames, getNodePropertyTables, getNsmappingtables, getOutputTerminal, getOutputTerminal, getPropertyDefaultValue, getPropertyNames, getPropertyValue, getRotate, getShortDescription, isUdpSupport, removeNsmapping, setLocation, setLocation, setLongDescription, setNodeName, setNsmappingtables, setProperty, setRotate, setShortDescription, toString
public final InputTerminal INPUT_TERMINAL_IN
public final OutputTerminal OUTPUT_TERMINAL_FALSE
public final OutputTerminal OUTPUT_TERMINAL_TRUE
public final OutputTerminal OUTPUT_TERMINAL_FAILURE
public final OutputTerminal OUTPUT_TERMINAL_UNKNOWN
public InputTerminal[] getInputTerminals()
Node
getInputTerminals
in class Node
public OutputTerminal[] getOutputTerminals()
Node
getOutputTerminals
in class Node
public java.lang.String getTypeName()
Node
getTypeName
in class Node
public FilterNode setDataSource(java.lang.String value)
value
- String ; the value to set the property "Data source"public java.lang.String getDataSource()
public FilterNode setConnectDatasourceBeforeFlowStarts(boolean value)
value
- boolean ; the value to set the property "Connect before flow starts"public boolean getConnectDatasourceBeforeFlowStarts()
public FilterNode setTransaction(FilterNode.ENUM_FILTER_TRANSACTION value)
value
- ENUM_FILTER_TRANSACTION ; the value to set the property "Transaction"public FilterNode.ENUM_FILTER_TRANSACTION getTransaction()
public FilterNode setFilterExpression(ESQLModule value)
value
- ESQLModule ; the value to set the property "Filter expression"public ESQLModule getFilterExpression()
public FilterNode setTreatWarningsAsErrors(boolean value)
value
- boolean ; the value to set the property "Treat warnings as errors"public boolean getTreatWarningsAsErrors()
public FilterNode setThrowExceptionOnDatabaseError(boolean value)
value
- boolean ; the value to set the property "Throw exception on database error"public boolean getThrowExceptionOnDatabaseError()
public java.lang.String getNodeName()
Node
MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "mf1.msgflow"); Node inputMQNode = mf1.getNodeByName("My Input Node"); inputMQNode.setNodeName("Renamed Input Node");
getNodeName
in class Node