Package org.apache.camel.main.download
Class AutoConfigureDownloadListener
java.lang.Object
org.apache.camel.main.download.AutoConfigureDownloadListener
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,DownloadListener,org.apache.camel.spi.HasCamelContext
public class AutoConfigureDownloadListener
extends Object
implements DownloadListener, org.apache.camel.CamelContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidautoConfigure(String artifactId) protected voidautoConfigureDependencies(String artifactId) org.apache.camel.CamelContextvoidonAlreadyDownloadedDependency(String groupId, String artifactId, String version) Uses an existing already downloaded dependencyvoidonDownloadDependency(String groupId, String artifactId, String version) Downloads a new dependencyvoidonDownloadedDependency(String groupId, String artifactId, String version) After the dependency has been downloadedvoidsetCamelContext(org.apache.camel.CamelContext camelContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.main.download.DownloadListener
onExtraRepository, onLoadingKamelet, onLoadingModeline
-
Constructor Details
-
AutoConfigureDownloadListener
public AutoConfigureDownloadListener()
-
-
Method Details
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContextin interfaceorg.apache.camel.spi.HasCamelContext
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext) - Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
onDownloadDependency
Description copied from interface:DownloadListenerDownloads a new dependency- Specified by:
onDownloadDependencyin interfaceDownloadListener
-
onDownloadedDependency
Description copied from interface:DownloadListenerAfter the dependency has been downloaded- Specified by:
onDownloadedDependencyin interfaceDownloadListener
-
onAlreadyDownloadedDependency
Description copied from interface:DownloadListenerUses an existing already downloaded dependency- Specified by:
onAlreadyDownloadedDependencyin interfaceDownloadListener
-
autoConfigureDependencies
-
autoConfigure
-