org.apache.maven.archetype.generator
Class DefaultArchetypeSelectionQueryer

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.archetype.generator.DefaultArchetypeSelectionQueryer
All Implemented Interfaces:
ArchetypeSelectionQueryer, org.codehaus.plexus.logging.LogEnabled

public class DefaultArchetypeSelectionQueryer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArchetypeSelectionQueryer


Field Summary
 
Fields inherited from interface org.apache.maven.archetype.generator.ArchetypeSelectionQueryer
ROLE
 
Constructor Summary
DefaultArchetypeSelectionQueryer()
           
 
Method Summary
 boolean confirmSelection(ArchetypeDefinition archetypeDefinition)
           
 Archetype selectArtifact(List archetypes)
           
 String selectGroup(List groups)
           
 String selectVersion(List archetypeVersions)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArchetypeSelectionQueryer

public DefaultArchetypeSelectionQueryer()
Method Detail

confirmSelection

public boolean confirmSelection(ArchetypeDefinition archetypeDefinition)
                         throws org.codehaus.plexus.components.interactivity.PrompterException
Specified by:
confirmSelection in interface ArchetypeSelectionQueryer
Throws:
org.codehaus.plexus.components.interactivity.PrompterException

selectArtifact

public Archetype selectArtifact(List archetypes)
                         throws org.codehaus.plexus.components.interactivity.PrompterException
Specified by:
selectArtifact in interface ArchetypeSelectionQueryer
Throws:
org.codehaus.plexus.components.interactivity.PrompterException

selectGroup

public String selectGroup(List groups)
                   throws org.codehaus.plexus.components.interactivity.PrompterException
Specified by:
selectGroup in interface ArchetypeSelectionQueryer
Throws:
org.codehaus.plexus.components.interactivity.PrompterException

selectVersion

public String selectVersion(List archetypeVersions)
                     throws org.codehaus.plexus.components.interactivity.PrompterException
Specified by:
selectVersion in interface ArchetypeSelectionQueryer
Throws:
org.codehaus.plexus.components.interactivity.PrompterException


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