@Component(role=ArchetypeCreationConfigurator.class, hint="default") public class DefaultArchetypeCreationConfigurator extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArchetypeCreationConfigurator
ROLE
Constructor and Description |
---|
DefaultArchetypeCreationConfigurator() |
Modifier and Type | Method and Description |
---|---|
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) |
void |
readProperties(java.util.Properties properties,
java.io.File propertyFile) |
void |
writeProperties(java.util.Properties properties,
java.io.File propertyFile) |
public DefaultArchetypeCreationConfigurator()
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
configureArchetypeCreation
in interface ArchetypeCreationConfigurator
java.io.IOException
ArchetypeNotDefined
ArchetypeNotConfigured
org.codehaus.plexus.components.interactivity.PrompterException
TemplateCreationException
public void readProperties(java.util.Properties properties, java.io.File propertyFile) throws java.io.IOException
java.io.IOException
public void writeProperties(java.util.Properties properties, java.io.File propertyFile) throws java.io.IOException
java.io.IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.