@Component(role=ArchetypeDataSource.class, hint="remote-catalog") public class RemoteCatalogArchetypeDataSource extends CatalogArchetypeDataSource
| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_ID
Id of the repository used to download catalog file.
|
static String |
REPOSITORY_PROPERTY |
ARCHETYPE_CATALOG_FILENAME, ARCHETYPE_CATALOG_PROPERTY, DEFAULT_ARCHETYPE_CATALOG, MAVEN_CONFIGURATION, USER_HOMEROLE| Constructor and Description |
|---|
RemoteCatalogArchetypeDataSource() |
| Modifier and Type | Method and Description |
|---|---|
ArchetypeCatalog |
getArchetypeCatalog(Properties properties) |
void |
updateCatalog(Properties properties,
Archetype archetype) |
readCatalog, writeLocalCatalogpublic static final String REPOSITORY_PROPERTY
public static final String REPOSITORY_ID
public ArchetypeCatalog getArchetypeCatalog(Properties properties) throws ArchetypeDataSourceException
getArchetypeCatalog in interface ArchetypeDataSourcegetArchetypeCatalog in class CatalogArchetypeDataSourceArchetypeDataSourceExceptionpublic void updateCatalog(Properties properties, Archetype archetype) throws ArchetypeDataSourceException
updateCatalog in interface ArchetypeDataSourceupdateCatalog in class CatalogArchetypeDataSourceArchetypeDataSourceExceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.