[rules-users] Using Enum list in the guvnor

Sean Su sean.x.su at gmail.com
Wed Apr 18 16:35:10 EDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120418/5f439133/attachment.html 


More information about the rules-users mailing list