Class ArchetypePrompter

java.lang.Object
org.apache.maven.archetype.ui.ArchetypePrompter
All Implemented Interfaces:
org.codehaus.plexus.components.interactivity.Prompter

@Named("archetype") @Singleton public class ArchetypePrompter extends Object implements org.codehaus.plexus.components.interactivity.Prompter
Author:
raphaelpieroni
  • Constructor Details

    • ArchetypePrompter

      public ArchetypePrompter()
  • Method Details

    • prompt

      public String prompt(String message) throws org.codehaus.plexus.components.interactivity.PrompterException
      Specified by:
      prompt in interface org.codehaus.plexus.components.interactivity.Prompter
      Throws:
      org.codehaus.plexus.components.interactivity.PrompterException
    • prompt

      public String prompt(String message, String defaultReply) throws org.codehaus.plexus.components.interactivity.PrompterException
      Specified by:
      prompt in interface org.codehaus.plexus.components.interactivity.Prompter
      Throws:
      org.codehaus.plexus.components.interactivity.PrompterException
    • prompt

      public String prompt(String message, List possibleValues, String defaultReply) throws org.codehaus.plexus.components.interactivity.PrompterException
      Specified by:
      prompt in interface org.codehaus.plexus.components.interactivity.Prompter
      Throws:
      org.codehaus.plexus.components.interactivity.PrompterException
    • prompt

      public String prompt(String message, List possibleValues) throws org.codehaus.plexus.components.interactivity.PrompterException
      Specified by:
      prompt in interface org.codehaus.plexus.components.interactivity.Prompter
      Throws:
      org.codehaus.plexus.components.interactivity.PrompterException
    • promptForPassword

      public String promptForPassword(String message) throws org.codehaus.plexus.components.interactivity.PrompterException
      Specified by:
      promptForPassword in interface org.codehaus.plexus.components.interactivity.Prompter
      Throws:
      org.codehaus.plexus.components.interactivity.PrompterException
    • showMessage

      public void showMessage(String message) throws org.codehaus.plexus.components.interactivity.PrompterException
      Specified by:
      showMessage in interface org.codehaus.plexus.components.interactivity.Prompter
      Throws:
      org.codehaus.plexus.components.interactivity.PrompterException