|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.retail.AEF.automation.AbstractCondition | +--com.ibm.retail.AEF.automation.AbstractPropertyCondition | +--com.ibm.retail.AEF.automation.PropertyContainsCondition
PropertyContainsCondition listens to a POSDataProvider property and indicates whether the property contains the specified value. The property being monitored is first converted to a String if it is not already a string data type. If the property is detected to contain the value, the lock associated with this condition is notified, which will free a thread blocking on the lock.
Field Summary |
---|
Fields inherited from class com.ibm.retail.AEF.automation.AbstractPropertyCondition |
---|
category, name, nextOnly, value |
Fields inherited from class com.ibm.retail.AEF.automation.AbstractCondition |
---|
counterLock, dataProvider, eligible, id, idCounter, index, listeners, lock, manager, session |
Constructor Summary | |
---|---|
PropertyContainsCondition(com.ibm.retail.AEF.automation.PropertyNotContainsCondition condition)
Constructs a new condition which is the logical opposite of the give condition. |
|
PropertyContainsCondition(java.lang.String cat,
java.lang.String name,
java.lang.String value)
Constructs the condition |
|
PropertyContainsCondition(java.lang.String cat,
java.lang.String name,
java.lang.String value,
boolean nextValueOnly)
Constructs the condition |
Method Summary | |
---|---|
(package private) static java.lang.String |
copyright()
|
boolean |
evaluate(java.lang.Object newVal)
Evaluates the condition given a value object. |
java.lang.String |
explain()
Returns a string explaining this condition. |
java.lang.String |
getTargetValue()
Returns the target value which this condition is looking for within the property. |
com.ibm.retail.AEF.automation.Condition |
makeOpposite()
Makes a new condition which is the logical opposite of this condition. |
void |
propertyChanged(com.ibm.retail.AEF.event.AEFPropertyChangeEvent evt)
A AEF POSDataProvider property was updated |
Methods inherited from class com.ibm.retail.AEF.automation.AbstractPropertyCondition |
---|
currentValues, evaluate, getCategory, getNextOnly, getPropertyName, parseDouble, setEligible |
Methods inherited from class com.ibm.retail.AEF.automation.AbstractCondition |
---|
addEvaluateListener, getID, getIndex, getNextID, getPOSDataProvider, getSession, getTerminalNumber, isEligible, notifyEvaluateConditionListeners, removeEvaluateListener, setConditionLock, setID, setIndex, setLockManager, setPOSDataProvider, setSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.retail.AEF.automation.Condition |
---|
addEvaluateListener, getID, getIndex, getPOSDataProvider, getSession, getTerminalNumber, isEligible, removeEvaluateListener, setConditionLock, setID, setIndex, setLockManager, setPOSDataProvider, setSession |
Constructor Detail |
public PropertyContainsCondition(java.lang.String cat, java.lang.String name, java.lang.String value, boolean nextValueOnly)
public PropertyContainsCondition(java.lang.String cat, java.lang.String name, java.lang.String value)
public PropertyContainsCondition(com.ibm.retail.AEF.automation.PropertyNotContainsCondition condition)
Method Detail |
static java.lang.String copyright()
public com.ibm.retail.AEF.automation.Condition makeOpposite()
public void propertyChanged(com.ibm.retail.AEF.event.AEFPropertyChangeEvent evt) throws java.rmi.RemoteException
evt
- contains details of the event
java.rmi.RemoteException
- if remote access failspublic boolean evaluate(java.lang.Object newVal)
evaluate
in class AbstractPropertyCondition
newVal
- The Object value.
public java.lang.String getTargetValue()
public java.lang.String explain()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |