Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-682

ShellPrompt has fixed set of PromptTypes, should be extensible

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Alpha2
    • 1.0.5.Final
    • UI - Shell
    • None

      If a plugin wants to prompt the user to supply some settings it'll use:

      ShellPrompt
         String promptCommon(String message, PromptType type);
      

      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.

              lincolnthree Lincoln Baxter III (Inactive)
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: