Class DefaultArchetypeCreationConfigurator
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.apache.maven.archetype.ui.creation.DefaultArchetypeCreationConfigurator
-
- All Implemented Interfaces:
ArchetypeCreationConfigurator,org.codehaus.plexus.logging.LogEnabled
@Component(role=ArchetypeCreationConfigurator.class, hint="default") 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
Constructors Constructor Description DefaultArchetypeCreationConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.PropertiesconfigureArchetypeCreation(org.apache.maven.project.MavenProject project, java.lang.Boolean interactiveMode, java.util.Properties commandLineProperties, java.io.File propertyFile, java.util.List<java.lang.String> languages)voidreadProperties(java.util.Properties properties, java.io.File propertyFile)voidwriteProperties(java.util.Properties properties, java.io.File propertyFile)
-
-
-
Method Detail
-
configureArchetypeCreation
public java.util.Properties configureArchetypeCreation(org.apache.maven.project.MavenProject project, java.lang.Boolean interactiveMode, java.util.Properties commandLineProperties, java.io.File propertyFile, java.util.List<java.lang.String> languages) throws java.io.IOException, ArchetypeNotDefined, ArchetypeNotConfigured, org.codehaus.plexus.components.interactivity.PrompterException, TemplateCreationException- Specified by:
configureArchetypeCreationin interfaceArchetypeCreationConfigurator- Throws:
java.io.IOExceptionArchetypeNotDefinedArchetypeNotConfiguredorg.codehaus.plexus.components.interactivity.PrompterExceptionTemplateCreationException
-
readProperties
public void readProperties(java.util.Properties properties, java.io.File propertyFile) throws java.io.IOException- Throws:
java.io.IOException
-
writeProperties
public void writeProperties(java.util.Properties properties, java.io.File propertyFile) throws java.io.IOException- Throws:
java.io.IOException
-
-