@Component(role=ArchetypeCreationQueryer.class, hint="default") public class DefaultArchetypeCreationQueryer extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArchetypeCreationQueryer
| Type | Property and Description |
|---|---|
boolean |
askAddAnother |
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) |
askAddAnotherProperty in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getArchetypeArtifactId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeArtifactId in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getArchetypeGroupId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeGroupId in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getArchetypeVersion(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeVersion in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getArtifactId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArtifactId in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic boolean askAddAnotherProperty()
throws org.codehaus.plexus.components.interactivity.PrompterException
askAddAnotherProperty in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String askNewPropertyKey() throws org.codehaus.plexus.components.interactivity.PrompterException
askNewPropertyKey in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String askReplacementValue(String propertyKey, String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
askReplacementValue in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) throws org.codehaus.plexus.components.interactivity.PrompterException
confirmConfiguration in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getGroupId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getGroupId in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getPackage(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getPackage in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionpublic String getVersion(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getVersion in interface ArchetypeCreationQueryerorg.codehaus.plexus.components.interactivity.PrompterExceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.