org.apache.maven.archetype.ui
Class ArchetypePrompter

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

public class ArchetypePrompter
extends Object
implements org.codehaus.plexus.components.interactivity.Prompter

Author:
raphaelpieroni
Plexus component:
role-hint:
"archetype"

Field Summary
 
Fields inherited from interface org.codehaus.plexus.components.interactivity.Prompter
ROLE
 
Constructor Summary
ArchetypePrompter()
           
 
Method Summary
 String prompt(String message)
           
 String prompt(String message, List possibleValues)
           
 String prompt(String message, List possibleValues, String defaultReply)
           
 String prompt(String message, String defaultReply)
           
 String promptForPassword(String message)
           
 void showMessage(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchetypePrompter

public ArchetypePrompter()
Method Detail

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


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.