public class ComponentCatalogNexusRepository extends BaseNexusRepository
CamelCatalog
.Constructor and Description |
---|
ComponentCatalogNexusRepository() |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponent(NexusArtifactDto dto,
org.apache.camel.catalog.CamelCatalog camelCatalog,
String scheme,
String javaType,
String json)
Adds the component to the
CamelCatalog |
org.apache.camel.catalog.CamelCatalog |
getCamelCatalog() |
void |
onNewArtifacts(Set<NexusArtifactDto> newArtifacts)
Callback when new artifacts has been discovered in Nexus
|
void |
setCamelCatalog(org.apache.camel.catalog.CamelCatalog camelCatalog)
Sets the
CamelCatalog to be used. |
void |
start()
Starts the Nexus indexer.
|
createArtifactURL, createNexusUrl, getClassifier, getDelay, getInitialDelay, getNexusUrl, indexNexus, setClassifier, setDelay, setInitialDelay, setLog, setNexusUrl, stop
public org.apache.camel.catalog.CamelCatalog getCamelCatalog()
public void setCamelCatalog(org.apache.camel.catalog.CamelCatalog camelCatalog)
CamelCatalog
to be used.public void start()
BaseNexusRepository
start
in class BaseNexusRepository
public void onNewArtifacts(Set<NexusArtifactDto> newArtifacts)
BaseNexusRepository
protected void addComponent(NexusArtifactDto dto, org.apache.camel.catalog.CamelCatalog camelCatalog, String scheme, String javaType, String json)
CamelCatalog
dto
- the artifactcamelCatalog
- the Camel Catalogscheme
- component namejavaType
- component java classjson
- component json schemaApache Camel