Class CamelQuarkusUpdate

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.update.CamelQuarkusUpdate
All Implemented Interfaces:
Update

public final class CamelQuarkusUpdate extends Object implements Update
  • Constructor Details

    • CamelQuarkusUpdate

      public CamelQuarkusUpdate(CamelUpdateMixin updateMixin, org.apache.camel.main.download.MavenDependencyDownloader downloader)
  • Method Details

    • getQuarkusStream

      public String getQuarkusStream()
      Quarkus updates are in the form 3.8, 3.15, 3.17... Downloads Camel Quarkus catalog for the given Camel version and get the Quarkus stream version
      Returns:
    • debug

      public String debug()
      Specified by:
      debug in interface Update
    • runMode

      public String runMode()
      Specified by:
      runMode in interface Update
    • command

      public List<String> command() throws CamelUpdateException
      Description copied from interface: Update
      Returns the command to execute that updates Apache Camel.
      Specified by:
      command in interface Update
      Returns:
      a list of strings representing the command to execute.
      Throws:
      CamelUpdateException - if an error occurs while generating the command.
    • getArtifactCoordinates

      public String getArtifactCoordinates()
      Specified by:
      getArtifactCoordinates in interface Update