public interface ArchetypeSelectionQueryer
User interaction component for archetype selection.
TODO this interface is bound to its implementation through the prompter exceptionModifier and Type | Method and Description |
---|---|
boolean |
confirmSelection(ArchetypeDefinition archetypeDefinition) |
Archetype |
selectArchetype(Map<String,List<Archetype>> map) |
Archetype |
selectArchetype(Map<String,List<Archetype>> archetypes,
ArchetypeDefinition defaultDefinition)
Select an archetype from the given map.
|
static final String ROLE
Archetype selectArchetype(Map<String,List<Archetype>> map) throws org.codehaus.plexus.components.interactivity.PrompterException
org.codehaus.plexus.components.interactivity.PrompterException
boolean confirmSelection(ArchetypeDefinition archetypeDefinition) throws org.codehaus.plexus.components.interactivity.PrompterException
org.codehaus.plexus.components.interactivity.PrompterException
Archetype selectArchetype(Map<String,List<Archetype>> archetypes, ArchetypeDefinition defaultDefinition) throws org.codehaus.plexus.components.interactivity.PrompterException
archetypes
- the archetypes to choose fromdefaultDefinition
- the default archetype, if present in the maporg.codehaus.plexus.components.interactivity.PrompterException
- if there is a problem in making a
selectionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.