[rules-users] enums
Scott Reed
sreed at avacoda.com
Mon Jul 28 09:10:48 EDT 2008
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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080728/969bf873/attachment.html
More information about the rules-users
mailing list