Class CamelCommand

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand
All Implemented Interfaces:
Callable<Integer>
Direct Known Subclasses:
Bind, CamelAction, CamelContextStatus, CamelContextTop, CamelCount, CamelGCAction, CamelLogAction, CamelProcessorStatus, CamelReloadAction, CamelResetStatsAction, CamelRouteAction, CamelRouteDumpAction, CamelRouteStatus, CamelSendAction, CamelSourceAction, CamelSourceTop, CamelStartupRecorderAction, CamelStatus, CamelStubAction, CamelThreadDump, CamelTop, CamelTraceAction, CatalogBaseCommand, CatalogCommand, CatalogDoc, CatalogKamelet, CodeGenerator, CodeRestGenerator, Complete, ConfigCommand, ConfigGet, ConfigList, ConfigSet, ConfigUnset, DependencyCommand, Export, Hawtio, Init, Jolokia, ListBlocked, ListCircuitBreaker, ListConsumer, ListEndpoint, ListEvent, ListHealth, ListInflight, ListMetric, ListProcess, ListService, ListVariable, ListVault, LoggerAction, PluginAdd, PluginCommand, PluginDelete, PluginGet, RouteControllerAction, Run, Script, StopProcess, TransformCommand, TransformMessageAction, TransformRoute, VersionCommand, VersionGet, VersionList, VersionSet

public abstract class CamelCommand extends Object implements Callable<Integer>
  • Constructor Details

  • Method Details

    • getMain

      public CamelJBangMain getMain()
    • configureLoggingOff

      protected void configureLoggingOff()
    • disarrangeLogging

      protected boolean disarrangeLogging()
    • call

      public Integer call() throws Exception
      Specified by:
      call in interface Callable<Integer>
      Throws:
      Exception
    • doCall

      public abstract Integer doCall() throws Exception
      Throws:
      Exception
    • getStatusFile

      public File getStatusFile(String pid)
    • getActionFile

      public File getActionFile(String pid)
    • getOutputFile

      public File getOutputFile(String pid)
    • getTraceFile

      public File getTraceFile(String pid)
    • getDebugFile

      public File getDebugFile(String pid)
    • printer

      protected Printer printer()
    • printConfigurationValues

      protected void printConfigurationValues(String header)