@Component(role=ArchetypeCreationQueryer.class, hint="default") public class DefaultArchetypeCreationQueryer extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArchetypeCreationQueryer
ROLE
Constructor and Description |
---|
DefaultArchetypeCreationQueryer() |
Modifier and Type | Method and Description |
---|---|
boolean |
askAddAnotherProperty() |
java.lang.String |
askNewPropertyKey() |
java.lang.String |
askReplacementValue(java.lang.String propertyKey,
java.lang.String defaultValue) |
boolean |
confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) |
java.lang.String |
getArchetypeArtifactId(java.lang.String defaultValue) |
java.lang.String |
getArchetypeGroupId(java.lang.String defaultValue) |
java.lang.String |
getArchetypeVersion(java.lang.String defaultValue) |
java.lang.String |
getArtifactId(java.lang.String defaultValue) |
java.lang.String |
getGroupId(java.lang.String defaultValue) |
java.lang.String |
getPackage(java.lang.String defaultValue) |
java.lang.String |
getVersion(java.lang.String defaultValue) |
public java.lang.String getArchetypeArtifactId(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeArtifactId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String getArchetypeGroupId(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeGroupId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String getArchetypeVersion(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArchetypeVersion
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String getArtifactId(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getArtifactId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public boolean askAddAnotherProperty() throws org.codehaus.plexus.components.interactivity.PrompterException
askAddAnotherProperty
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String askNewPropertyKey() throws org.codehaus.plexus.components.interactivity.PrompterException
askNewPropertyKey
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String askReplacementValue(java.lang.String propertyKey, java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
askReplacementValue
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public boolean confirmConfiguration(ArchetypeConfiguration archetypeConfiguration) throws org.codehaus.plexus.components.interactivity.PrompterException
confirmConfiguration
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String getGroupId(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getGroupId
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String getPackage(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getPackage
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
public java.lang.String getVersion(java.lang.String defaultValue) throws org.codehaus.plexus.components.interactivity.PrompterException
getVersion
in interface ArchetypeCreationQueryer
org.codehaus.plexus.components.interactivity.PrompterException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.