org.apache.maven.archetype.ui.creation
Interface ArchetypeCreationQueryer

All Known Implementing Classes:
DefaultArchetypeCreationQueryer

public interface ArchetypeCreationQueryer

User interaction component to query informations necessary for an archetype creation from a project.


Field Summary
static String ROLE
           
 
Method Summary
 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)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

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

String askNewPropertyKey()
                         throws org.codehaus.plexus.components.interactivity.PrompterException
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


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.