Class DefaultArchetypeCreationQueryer

    • Constructor Detail

      • DefaultArchetypeCreationQueryer

        public DefaultArchetypeCreationQueryer()
    • Method Detail

      • getArchetypeArtifactId

        public java.lang.String getArchetypeArtifactId​(java.lang.String defaultValue)
                                                throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        getArchetypeArtifactId in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getArchetypeGroupId

        public java.lang.String getArchetypeGroupId​(java.lang.String defaultValue)
                                             throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        getArchetypeGroupId in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getArchetypeVersion

        public java.lang.String getArchetypeVersion​(java.lang.String defaultValue)
                                             throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        getArchetypeVersion in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getArtifactId

        public java.lang.String getArtifactId​(java.lang.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 java.lang.String askNewPropertyKey()
                                           throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        askNewPropertyKey in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • askReplacementValue

        public java.lang.String askReplacementValue​(java.lang.String propertyKey,
                                                    java.lang.String defaultValue)
                                             throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        askReplacementValue in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getGroupId

        public java.lang.String getGroupId​(java.lang.String defaultValue)
                                    throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        getGroupId in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getPackage

        public java.lang.String getPackage​(java.lang.String defaultValue)
                                    throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        getPackage in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getVersion

        public java.lang.String getVersion​(java.lang.String defaultValue)
                                    throws org.codehaus.plexus.components.interactivity.PrompterException
        Specified by:
        getVersion in interface ArchetypeCreationQueryer
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException