Package com.ibm.di.config.interfaces
Interface BranchCondition
-
- All Superinterfaces:
BaseConfiguration
,java.io.Serializable
- All Known Implementing Classes:
BranchConditionImpl
public interface BranchCondition extends BaseConfiguration
The configuration for a single BranchCondition in a BranchingConfig.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BRANCH_CONTAINS
Condition operator.static java.lang.String
BRANCH_ENDS_WITH
Condition operator.static java.lang.String
BRANCH_EQUALS
Condition operator.static java.lang.String
BRANCH_EXISTS
Condition operator.static java.lang.String
BRANCH_GT
Condition operator.static java.lang.String
BRANCH_GTE
Condition operator.static java.lang.String
BRANCH_HAS_VALUE
Condition operator.static java.lang.String
BRANCH_LT
Condition operator.static java.lang.String
BRANCH_LTE
Condition operator.static java.lang.String
BRANCH_STARTS_WITH
Condition operator.-
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getCaseSensitive()
java.lang.String
getLeftHand()
boolean
getMatchAny()
boolean
getNegate()
java.lang.String
getOperator()
java.lang.String
getRightHand()
void
setCaseSensitive(boolean cs)
Set whether the condition (e.g.void
setLeftHand(java.lang.String str)
Set the left-hand side of the conditional expression.void
setMatchAny(boolean matchAny)
Sets the match any flag.void
setNegate(boolean negate)
Set whether the condition is negated.void
setOperator(java.lang.String str)
Set the operator of the conditional expression, e.g.void
setRightHand(java.lang.String str)
Set the right-hand side of the conditional expression.-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
-
-
-
Field Detail
-
BRANCH_EQUALS
static final java.lang.String BRANCH_EQUALS
Condition operator. Both sides of the condition must be equal.- See Also:
- Constant Field Values
-
BRANCH_CONTAINS
static final java.lang.String BRANCH_CONTAINS
Condition operator. The left side must contain the right side.- See Also:
- Constant Field Values
-
BRANCH_STARTS_WITH
static final java.lang.String BRANCH_STARTS_WITH
Condition operator. The left side must start with the string specified by the right side.- See Also:
- Constant Field Values
-
BRANCH_ENDS_WITH
static final java.lang.String BRANCH_ENDS_WITH
Condition operator. The left side must end with the string specified by the right side.- See Also:
- Constant Field Values
-
BRANCH_HAS_VALUE
static final java.lang.String BRANCH_HAS_VALUE
Condition operator. The left side must resolve to an Attribute that contains the right side as a value.- See Also:
- Constant Field Values
-
BRANCH_EXISTS
static final java.lang.String BRANCH_EXISTS
Condition operator. The left side must exists. There is no right side for this operator.- See Also:
- Constant Field Values
-
BRANCH_LT
static final java.lang.String BRANCH_LT
Condition operator. The left side is less than the right side.- See Also:
- Constant Field Values
-
BRANCH_LTE
static final java.lang.String BRANCH_LTE
Condition operator. The left side is less than or equal to the right side.- See Also:
- Constant Field Values
-
BRANCH_GT
static final java.lang.String BRANCH_GT
Condition operator. The left side is greater than the right side.- See Also:
- Constant Field Values
-
BRANCH_GTE
static final java.lang.String BRANCH_GTE
Condition operator. The left side is greater than or equal to the right side.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLeftHand
java.lang.String getLeftHand()
- Returns:
- The left-hand side of the conditional expression.
-
setLeftHand
void setLeftHand(java.lang.String str)
Set the left-hand side of the conditional expression.- Parameters:
str
- The left-hand side of the conditional expression.
-
getOperator
java.lang.String getOperator()
- Returns:
- The operator of the conditional expression, e.g.
BRANCH_EQUALS
.
-
setOperator
void setOperator(java.lang.String str)
Set the operator of the conditional expression, e.g.BRANCH_EQUALS
.- Parameters:
str
- The name of the conditional operator.
-
getRightHand
java.lang.String getRightHand()
- Returns:
- The right-hand side of the conditional expression.
-
setRightHand
void setRightHand(java.lang.String str)
Set the right-hand side of the conditional expression.- Parameters:
str
- The right-hand side of the conditional expression.
-
getCaseSensitive
boolean getCaseSensitive()
- Returns:
- The case sensitivity flag.
-
setCaseSensitive
void setCaseSensitive(boolean cs)
Set whether the condition (e.g. equality) is case sensitive.- Parameters:
cs
- Whether the condition is case sensitive.
-
getNegate
boolean getNegate()
- Returns:
- Whether the condition is negated.
-
setNegate
void setNegate(boolean negate)
Set whether the condition is negated.- Parameters:
negate
- Whether the condition is negated.
-
getMatchAny
boolean getMatchAny()
- Returns:
- The match any flag.
-
setMatchAny
void setMatchAny(boolean matchAny)
Sets the match any flag.- Parameters:
matchAny
- The value of the match any flag.
-
-