Interface ArchetypeDataSource
-
- All Known Implementing Classes:
CatalogArchetypeDataSource,InternalCatalogArchetypeDataSource,LocalCatalogArchetypeDataSource,RemoteCatalogArchetypeDataSource
public interface ArchetypeDataSourceSources we can get Archetypes from. This may be the local registry, a Wiki, or, a Maven Repository application. We might also want to get all the Archetypes based on some predetermined criteria and that could be anything given the source. A simple use-case might be to grab all Archetypes for a particular groupId, or Archetypes for webapps, or who knows what.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringARCHETYPE_CATALOG_FILENAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArchetypeCataloggetArchetypeCatalog(org.eclipse.aether.RepositorySystemSession repositorySession, java.util.List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories)java.io.FileupdateCatalog(org.eclipse.aether.RepositorySystemSession repositorySession, Archetype archetype)
-
-
-
Field Detail
-
ARCHETYPE_CATALOG_FILENAME
static final java.lang.String ARCHETYPE_CATALOG_FILENAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getArchetypeCatalog
ArchetypeCatalog getArchetypeCatalog(org.eclipse.aether.RepositorySystemSession repositorySession, java.util.List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories) throws ArchetypeDataSourceException
- Throws:
ArchetypeDataSourceException
-
updateCatalog
java.io.File updateCatalog(org.eclipse.aether.RepositorySystemSession repositorySession, Archetype archetype) throws ArchetypeDataSourceException- Throws:
ArchetypeDataSourceException
-
-