public class ActionConditionProcessor extends Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
addActionConditionType(String typeID,
                      ActionCondition type)
Allows clients to register new ActionCondition types identified by typeID. 
 | 
boolean | 
evaluate(String typeID,
        String op,
        String left,
        String right)
Evaluates (left op right) using the evaluate() method of the specific
 ActionCondition type identified by typeID. 
 | 
static ActionConditionProcessor | 
getInstance()
Returns a static instance of an ActionConditionProcessor. 
 | 
void | 
removeActionConditionType(String typeID)
Allows clients to remove a registered ActionCondition types identified 
 by typeID. 
 | 
public static ActionConditionProcessor getInstance()
StringActionCondition identified by "STRING"NumberActionCondition identified by "NUMBER"public boolean evaluate(String typeID, String op, String left, String right)
typeID - String identifying the specific ActionCondition to evaulate
 op on the left and right operands. Default valid values are:StringActionConditionNumberActionConditionop - The operation to perform on the left and right operands. See the
 specific ActionCondition type for valid operations and their semantics.left - The left operand.right - The right operand.IllegalArgumentException - if an invalid typeID is specified.public void addActionConditionType(String typeID, ActionCondition type)
public void removeActionConditionType(String typeID)
Copyright © 2025. All rights reserved.