Package jadex.rules.rulesystem.rules
Class ValueSourceReturnValueConstraint
- java.lang.Object
-
- jadex.rules.rulesystem.rules.ReturnValueConstraint
-
- jadex.rules.rulesystem.rules.ValueSourceReturnValueConstraint
-
- All Implemented Interfaces:
IConstraint
public class ValueSourceReturnValueConstraint extends ReturnValueConstraint
Test if the function result equals an attribute or method return value. (slot|method-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
valuesource
The attribute or method.-
Fields inherited from class jadex.rules.rulesystem.rules.ReturnValueConstraint
funcall, operator
-
-
Constructor Summary
Constructors Constructor Description ValueSourceReturnValueConstraint(java.lang.Object valuesource, FunctionCall funcall)
Create a new return value constraint.ValueSourceReturnValueConstraint(java.lang.Object valuesource, FunctionCall funcall, IOperator operator)
Create a new return value constraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValueSource()
Get the value source.-
Methods inherited from class jadex.rules.rulesystem.rules.ReturnValueConstraint
getFunctionCall, getOperator, getVariables
-
-
-
-
Constructor Detail
-
ValueSourceReturnValueConstraint
public ValueSourceReturnValueConstraint(java.lang.Object valuesource, FunctionCall funcall)
Create a new return value constraint.
-
ValueSourceReturnValueConstraint
public ValueSourceReturnValueConstraint(java.lang.Object valuesource, FunctionCall funcall, IOperator operator)
Create a new return value constraint.
-
-