Best place to ask questions like these are over on forge-dev(a)lists.jboss.org, but since
it's the new year ;)
"java new-enum-type {package} {quoted class body}"
But, if you are writing an addon, the best way to do this is using the JavaParser API, not
with the Shell UI. I don't recommend calling plugins via the shell from other
plugins.
~Lincoln
----- Original Message -----
From: "Robb Greathouse" <robb.greathouse(a)jboss.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Sent: Thursday, December 27, 2012 8:21:11 PM
Subject: Can you give me an example of an ENUM class in forge?
Hi,
I am trying to generate a class of type enum. Mean that instead of,
public emun MediaType{
}
instead of
public class MediaType[
}
doing
entity --named doesn't work any suggestions?
Robb Greathouse
Partner Enablement
Middleware Business Unit
JBoss, a Division of Red Hat
cellphone 505-507-4906