Interface ArchetypeCreationQueryer
- All Known Implementing Classes:
DefaultArchetypeCreationQueryer
public interface ArchetypeCreationQueryer
User interaction component to query informations necessary for an archetype creation from a project.
TODO this interface is bound to its implementation through the prompter exception-
Method Summary
Modifier and TypeMethodDescriptionboolean
askReplacementValue
(String propertyKey, String defaultValue) boolean
confirmConfiguration
(ArchetypeConfiguration archetypeConfiguration) getArchetypeArtifactId
(String defaultValue) getArchetypeGroupId
(String defaultValue) getArchetypeVersion
(String defaultValue) getArtifactId
(String defaultValue) getGroupId
(String defaultValue) getPackage
(String defaultValue) getVersion
(String defaultValue)
-
Method Details
-
getArchetypeArtifactId
String getArchetypeArtifactId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
getArchetypeGroupId
String getArchetypeGroupId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
getArchetypeVersion
String getArchetypeVersion(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
getArtifactId
String getArtifactId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
askAddAnotherProperty
boolean askAddAnotherProperty() throws org.codehaus.plexus.components.interactivity.PrompterException- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
askNewPropertyKey
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
askReplacementValue
String askReplacementValue(String propertyKey, String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
confirmConfiguration
boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
getGroupId
String getGroupId(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
getPackage
String getPackage(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-
getVersion
String getVersion(String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException - Throws:
org.codehaus.plexus.components.interactivity.PrompterException
-