[forge-dev] [JBoss JIRA] Closed: (SEAMFORGE-2) Forge Shell should accept enums in command @Option parameters

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Sat Feb 12 18:50:13 EST 2011


     [ https://issues.jboss.org/browse/SEAMFORGE-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III closed SEAMFORGE-2.
--------------------------------------

    Fix Version/s: 1.0.0.Alpha2
       Resolution: Done


> Forge Shell should accept enums in command @Option parameters
> -------------------------------------------------------------
>
>                 Key: SEAMFORGE-2
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-2
>             Project: Seam Forge
>          Issue Type: Feature Request
>            Reporter: Lincoln Baxter III
>            Assignee: Lincoln Baxter III
>             Fix For: 1.0.0.Alpha2
>
>
> @Command("example")
> public void run(@Option EnumType choice)
> {
> }
> Should only allow valid enum selections, but should also provide tab-completion for said choices.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list