org.apache.maven.archetype.ui.generation
Class DefaultArchetypeGenerationQueryer

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationQueryer
All Implemented Interfaces:
ArchetypeGenerationQueryer, org.codehaus.plexus.logging.LogEnabled

public class DefaultArchetypeGenerationQueryer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArchetypeGenerationQueryer

Plexus component

Constructor Summary
DefaultArchetypeGenerationQueryer()
           
 
Method Summary
 boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration)
           
 String getPropertyValue(String requiredProperty, String defaultValue)
           
 
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

DefaultArchetypeGenerationQueryer

public DefaultArchetypeGenerationQueryer()
Method Detail

confirmConfiguration

public boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration)
                             throws org.codehaus.plexus.components.interactivity.PrompterException
Specified by:
confirmConfiguration in interface ArchetypeGenerationQueryer
Throws:
org.codehaus.plexus.components.interactivity.PrompterException

getPropertyValue

public String getPropertyValue(String requiredProperty,
                               String defaultValue)
                        throws org.codehaus.plexus.components.interactivity.PrompterException
Specified by:
getPropertyValue in interface ArchetypeGenerationQueryer
Throws:
org.codehaus.plexus.components.interactivity.PrompterException


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