Interface ArchetypeCreationQueryer

  • All Known Implementing Classes:
    DefaultArchetypeCreationQueryer

    public interface ArchetypeCreationQueryer

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

    TODO this interface is bound to its implementation through the prompter exception
    • Field Detail

      • ROLE

        static final java.lang.String ROLE
    • Method Detail

      • getArchetypeArtifactId

        java.lang.String getArchetypeArtifactId​(java.lang.String defaultValue)
                                         throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getArchetypeGroupId

        java.lang.String getArchetypeGroupId​(java.lang.String defaultValue)
                                      throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getArchetypeVersion

        java.lang.String getArchetypeVersion​(java.lang.String defaultValue)
                                      throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getArtifactId

        java.lang.String getArtifactId​(java.lang.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

        java.lang.String askNewPropertyKey()
                                    throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • askReplacementValue

        java.lang.String askReplacementValue​(java.lang.String propertyKey,
                                             java.lang.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

        java.lang.String getGroupId​(java.lang.String defaultValue)
                             throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getPackage

        java.lang.String getPackage​(java.lang.String defaultValue)
                             throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException
      • getVersion

        java.lang.String getVersion​(java.lang.String defaultValue)
                             throws org.codehaus.plexus.components.interactivity.PrompterException
        Throws:
        org.codehaus.plexus.components.interactivity.PrompterException