Class CamelSourceAction

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

public class CamelSourceAction extends CamelCommand
  • Constructor Details

  • Method Details

    • doCall

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

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

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

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

      public static String extractSourceName(String loc)
    • getJsonObject

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