@Component(role=ArchetypeCreationQueryer.class, hint="default") public class DefaultArchetypeCreationQueryer extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArchetypeCreationQueryer
ROLE
Constructor and Description |
---|
DefaultArchetypeCreationQueryer() |
Modifier and Type | Method and Description |
---|---|
boolean |
askAddAnotherProperty() |
String |
askNewPropertyKey() |
String |
askReplacementValue(String propertyKey,
String defaultValue) |
boolean |
confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) |
String |
getArchetypeArtifactId(String defaultValue) |
String |
getArchetypeGroupId(String defaultValue) |
String |
getArchetypeVersion(String defaultValue) |
String |
getArtifactId(String defaultValue) |
String |
getGroupId(String defaultValue) |
String |
getPackage(String defaultValue) |
String |
getVersion(String defaultValue) |
public String getArchetypeArtifactId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeArtifactId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getArchetypeGroupId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeGroupId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getArchetypeVersion(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeVersion
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getArtifactId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArtifactId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public boolean askAddAnotherProperty() throws org.codehaus.plexus.components.interactivity.PrompterException
askAddAnotherProperty
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String askNewPropertyKey() throws org.codehaus.plexus.components.interactivity.PrompterException
askNewPropertyKey
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String askReplacementValue(String propertyKey, String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
askReplacementValue
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) throws org.codehaus.plexus.components.interactivity.PrompterException
confirmConfiguration
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getGroupId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getGroupId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getPackage(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getPackage
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public String getVersion(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getVersion
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.