Class CamelUpdate
java.lang.Object
org.apache.camel.dsl.jbang.core.commands.update.CamelUpdate
- All Implemented Interfaces:
Update
-
Constructor Summary
ConstructorsConstructorDescriptionCamelUpdate(CamelUpdateMixin updateMixin, org.apache.camel.main.download.MavenDependencyDownloader downloader) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.dsl.jbang.core.commands.update.Update
mvnProgramCall
-
Constructor Details
-
CamelUpdate
public CamelUpdate(CamelUpdateMixin updateMixin, org.apache.camel.main.download.MavenDependencyDownloader downloader)
-
-
Method Details
-
activeRecipes
Download the jar containing the recipes and extract the recipe name to be used in the maven command- Returns:
- Throws:
CamelUpdateException
-
debug
-
runMode
-
command
Description copied from interface:UpdateReturns the command to execute that updates Apache Camel.- Specified by:
commandin interfaceUpdate- Returns:
- a list of strings representing the command to execute.
- Throws:
CamelUpdateException- if an error occurs while generating the command.
-
getArtifactCoordinates
- Specified by:
getArtifactCoordinatesin interfaceUpdate
-