[forge-issues] [JBoss JIRA] (FORGE-682) ShellPrompt has fixed set of PromptTypes, should be extensible

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed Feb 27 16:58:59 EST 2013


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

Lincoln Baxter III updated FORGE-682:
-------------------------------------

    Fix Version/s: 2.0.0.Alpha2
                       (was: 2.0.0.Alpha1)

    
> ShellPrompt has fixed set of PromptTypes, should be extensible
> --------------------------------------------------------------
>
>                 Key: FORGE-682
>                 URL: https://issues.jboss.org/browse/FORGE-682
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Shell
>    Affects Versions: 1.0.5.Final
>            Reporter: Andre Dietisheim
>             Fix For: 2.0.0.Alpha2
>
>
> If a plugin wants to prompt the user to supply some settings it'll use:
> {code:title=ShellPrompt}
>    String promptCommon(String message, PromptType type);
> {code}
> PromptType is what the prompt would use to validate the user input against. Unfortunately PromptType is an enum so there's no way for a plugin to provide it's own prompt type.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list