org.apache.maven.archetype.ui.creation
Class DefaultArchetypeCreationConfigurator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.archetype.ui.creation.DefaultArchetypeCreationConfigurator
All Implemented Interfaces:
ArchetypeCreationConfigurator, org.codehaus.plexus.logging.LogEnabled

@Component(role=ArchetypeCreationConfigurator.class)
public class DefaultArchetypeCreationConfigurator
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArchetypeCreationConfigurator


Field Summary
 
Fields inherited from interface org.apache.maven.archetype.ui.creation.ArchetypeCreationConfigurator
ROLE
 
Constructor Summary
DefaultArchetypeCreationConfigurator()
           
 
Method Summary
 Properties configureArchetypeCreation(MavenProject project, Boolean interactiveMode, Properties commandLineProperties, File propertyFile, List<String> languages)
           
 void readProperties(Properties properties, File propertyFile)
           
 void writeProperties(Properties properties, File propertyFile)
           
 
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

DefaultArchetypeCreationConfigurator

public DefaultArchetypeCreationConfigurator()
Method Detail

configureArchetypeCreation

public Properties configureArchetypeCreation(MavenProject project,
                                             Boolean interactiveMode,
                                             Properties commandLineProperties,
                                             File propertyFile,
                                             List<String> languages)
                                      throws IOException,
                                             ArchetypeNotDefined,
                                             ArchetypeNotConfigured,
                                             org.codehaus.plexus.components.interactivity.PrompterException,
                                             TemplateCreationException
Specified by:
configureArchetypeCreation in interface ArchetypeCreationConfigurator
Throws:
IOException
ArchetypeNotDefined
ArchetypeNotConfigured
org.codehaus.plexus.components.interactivity.PrompterException
TemplateCreationException

readProperties

public void readProperties(Properties properties,
                           File propertyFile)
                    throws IOException
Throws:
IOException

writeProperties

public void writeProperties(Properties properties,
                            File propertyFile)
                     throws IOException
Throws:
IOException


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