@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_PROPERTY
ARCHETYPE_CATALOG_FILENAME
Constructor and Description |
---|
RemoteCatalogArchetypeDataSource() |
Modifier and Type | Method and Description |
---|---|
ArchetypeCatalog |
getArchetypeCatalog(ProjectBuildingRequest buildingRequest) |
void |
updateCatalog(ProjectBuildingRequest buildingRequest,
Archetype archetype) |
readCatalog, writeLocalCatalog
public static final String ARCHETYPE_REPOSITORY_ID
public static final String CENTRAL_REPOSITORY_ID
public ArchetypeCatalog getArchetypeCatalog(ProjectBuildingRequest buildingRequest) throws ArchetypeDataSourceException
getArchetypeCatalog
in interface ArchetypeDataSource
ArchetypeDataSourceException
public void updateCatalog(ProjectBuildingRequest buildingRequest, Archetype archetype) throws ArchetypeDataSourceException
updateCatalog
in interface ArchetypeDataSource
ArchetypeDataSourceException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.