Package org.apache.camel.main.download
Class BasePackageScanDownloadListener
java.lang.Object
org.apache.camel.main.download.BasePackageScanDownloadListener
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,ArtifactDownloadListener,org.apache.camel.spi.HasCamelContext
public class BasePackageScanDownloadListener
extends Object
implements ArtifactDownloadListener, org.apache.camel.CamelContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbasePackageScanConfiguration(String basePackage, File file) org.apache.camel.CamelContextvoidonDownloadedFile(File file) After the artifact has been downloadedvoidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
BasePackageScanDownloadListener
public BasePackageScanDownloadListener()
-
-
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
-
onDownloadedFile
Description copied from interface:ArtifactDownloadListenerAfter the artifact has been downloaded- Specified by:
onDownloadedFilein interfaceArtifactDownloadListener- Parameters:
file- the downloaded artifact as a file
-
basePackageScanConfiguration
- Throws:
Exception
-