@Component(role=ArchetypeGenerationQueryer.class, hint="default") public class DefaultArchetypeGenerationQueryer extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArchetypeGenerationQueryer
Constructor and Description |
---|
DefaultArchetypeGenerationQueryer() |
Modifier and Type | Method and Description |
---|---|
boolean |
confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) |
String |
getPropertyValue(String requiredProperty,
String defaultValue,
Pattern validationRegex) |
void |
setPrompter(org.codehaus.plexus.components.interactivity.Prompter prompter) |
public boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) throws org.codehaus.plexus.components.interactivity.PrompterException
confirmConfiguration
in interface ArchetypeGenerationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getPropertyValue(String requiredProperty, String defaultValue, Pattern validationRegex) throws org.codehaus.plexus.components.interactivity.PrompterException
getPropertyValue
in interface ArchetypeGenerationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public void setPrompter(org.codehaus.plexus.components.interactivity.Prompter prompter)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.