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
  • Method Details

    • 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