org.apache.maven.archetype.ui
Class DefaultArchetypeCreationQueryer
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.archetype.ui.DefaultArchetypeCreationQueryer
- All Implemented Interfaces:
- ArchetypeCreationQueryer, org.codehaus.plexus.logging.LogEnabled
public class DefaultArchetypeCreationQueryer
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ArchetypeCreationQueryer
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultArchetypeCreationQueryer
public DefaultArchetypeCreationQueryer()
getArchetypeArtifactId
public String getArchetypeArtifactId(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getArchetypeArtifactId
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeGroupId
public String getArchetypeGroupId(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getArchetypeGroupId
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeVersion
public String getArchetypeVersion(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getArchetypeVersion
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
getArtifactId
public String getArtifactId(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getArtifactId
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
askAddAnotherProperty
public boolean askAddAnotherProperty()
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
askAddAnotherProperty
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
askNewPropertyKey
public String askNewPropertyKey()
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
askNewPropertyKey
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
askReplacementValue
public String askReplacementValue(String propertyKey,
String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
askReplacementValue
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
confirmConfiguration
public boolean confirmConfiguration(org.apache.maven.archetype.common.ArchetypeConfiguration archetypeConfiguration)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
confirmConfiguration
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
getGroupId
public String getGroupId(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getGroupId
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
getPackage
public String getPackage(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getPackage
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
getVersion
public String getVersion(String defaultValue)
throws org.codehaus.plexus.components.interactivity.PrompterException
- Specified by:
getVersion
in interface ArchetypeCreationQueryer
- Throws:
org.codehaus.plexus.components.interactivity.PrompterException
Copyright © 2007-2008 The Apache Software Foundation. All Rights Reserved.