@Component(role=ArchetypeDataSource.class, hint="remote-catalog") public class RemoteCatalogArchetypeDataSource extends CatalogArchetypeDataSource implements ArchetypeDataSource
| Modifier and Type | Field and Description |
|---|---|
static String |
ARCHETYPE_REPOSITORY_ID
Id of the repository used to download catalog file.
|
static String |
CENTRAL_REPOSITORY_ID |
ARCHETYPE_CATALOG_PROPERTYARCHETYPE_CATALOG_FILENAME| Constructor and Description |
|---|
RemoteCatalogArchetypeDataSource() |
| Modifier and Type | Method and Description |
|---|---|
ArchetypeCatalog |
getArchetypeCatalog(ProjectBuildingRequest buildingRequest) |
void |
updateCatalog(ProjectBuildingRequest buildingRequest,
Archetype archetype) |
readCatalog, writeLocalCatalogpublic static final String ARCHETYPE_REPOSITORY_ID
public static final String CENTRAL_REPOSITORY_ID
public ArchetypeCatalog getArchetypeCatalog(ProjectBuildingRequest buildingRequest) throws ArchetypeDataSourceException
getArchetypeCatalog in interface ArchetypeDataSourceArchetypeDataSourceExceptionpublic void updateCatalog(ProjectBuildingRequest buildingRequest, Archetype archetype) throws ArchetypeDataSourceException
updateCatalog in interface ArchetypeDataSourceArchetypeDataSourceExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.