public class StringActionCondition extends AbstractActionCondition
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONTAINS
Returns true if the left operand contains the right operand 
 | 
static String | 
ENDS_WITH
Returns true if left_operand.endsWith(right_operand) 
 | 
static String | 
EQUAL
Returns true if left_operand.equals(right_operand) 
 | 
static String | 
MATCHES
Returns true if the left operand matches the regular expression defined
 by the right operand. 
 | 
static String | 
NOT_CONTAINS
Returns true if the left operand does not contain the right operand 
 | 
static String | 
NOT_EQUAL
Returns true if left_operand does not equal right_operand 
 | 
static String | 
STARTS_WITH
Returns true if left_operand.startsWith(right_operand) 
 | 
m_LeftOperand, m_Operation, m_RightOperand| Constructor and Description | 
|---|
StringActionCondition()
Creates a StringActionException that operats on two String operands and
 registers the valid operations that can be performed on the operands. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
evaluate()
Evaluates the action condition returning true if 
 (left_operand operation right_operand) is successful. 
 | 
addOperation, getLeftOperand, getOperation, getRightOperand, setLeftOperand, setOperation, setRightOperandpublic static final String EQUAL
public static final String NOT_EQUAL
public static final String STARTS_WITH
public static final String ENDS_WITH
public static final String CONTAINS
public static final String NOT_CONTAINS
public static final String MATCHES
public StringActionCondition()
public boolean evaluate()
Copyright © 2025. All rights reserved.