[rules-users] Using Enum list in the guvnor

Michael Anstis michael.anstis at gmail.com
Wed Apr 18 16:54:48 EDT 2012


Yes, but perhaps not specifically for your use-case.

What version of Guvnor are you using? I assume you are using a DSL? Can you
provide a self-contained repository export?

sent on the move

On 18 Apr 2012 21:36, "Sean Su" <sean.x.su at gmail.com> wrote:

> Has anyone here successfully used Enum in the guided editor in Guvnor?
>
> I am trying to build a patter with the following pseudo condition but
> could not get the Enum list displayed in the drop down of the Enum:
>
> "There is an Event with Event.type (Enum EventType) equal to
> EventType.someType".
>
> Here, someType is one of the enum defined in EventType.java.
>
> Event.java has getType() method returns EventType.
>
> Everything seems working fine, exception in the drop down of EventType,
> there is no enum defined. It only has the standard API from Enum listed
> there.
>
> Any input is appreciated.
>
> Thanks
>
> Sean
>
> _______________________________________________
> 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/20120418/c49403bf/attachment.html 


More information about the rules-users mailing list