Class CamelStubAction

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand
org.apache.camel.dsl.jbang.core.commands.action.CamelStubAction
All Implemented Interfaces:
Callable<Integer>

public class CamelStubAction extends CamelCommand
  • Constructor Details

  • Method Details

    • doWatchCall

      protected Integer doWatchCall() throws Exception
      Throws:
      Exception
    • sortRow

      protected int sortRow(org.apache.camel.dsl.jbang.core.commands.action.CamelStubAction.Row o1, org.apache.camel.dsl.jbang.core.commands.action.CamelStubAction.Row o2)
    • printStub

      protected void printStub(List<org.apache.camel.dsl.jbang.core.commands.action.CamelStubAction.Row> rows)
    • waitForOutputFile

      protected org.apache.camel.util.json.JsonObject waitForOutputFile(File outputFile)
    • doCall

      public Integer doCall() throws Exception
      Specified by:
      doCall in class CamelCommand
      Throws:
      Exception
    • clearScreen

      protected void clearScreen()
    • getJsonObject

      protected static org.apache.camel.util.json.JsonObject getJsonObject(File outputFile)