Hello,
If have an input object Inputobject which contains an enum Parameter
which contains all allowed parameters of InputObject:
The entries for the parameters are stored in a map:
private HashMap<Parameter, String> stringParameters;
If I try:
io: InputObject ( stringParameters[InputObject.Parameter.ParameterName] ==
"something")
I got the error
=>Field/method 'InputObject' not found for class
'com.rules.InputObject'Rule
Compilation error
Kind Regards
Thomas
Try a simple rule that just checks for any InputObject to make sure you
have the class imported correctly.
Rule "x"
when
InputObject()
then
end
thomas kukofka wrote:
Hello,
If have an input object Inputobject which contains an enum Parameter which contains all
allowed parameters of InputObject:
The entries for the parameters are stored in a map:
private HashMap<Parameter, String> stringParameters;
If I try:
io: InputObject ( stringParameters[InputObject.Parameter.ParameterName] ==
"something")
I got the error
=>Field/method 'InputObject' not found for class
'com.rules.InputObject'Rule
Compilation error
Kind Regards
Thomas
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users