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

public class ListConsumer extends CamelCommand
  • Constructor Details

  • Method Details

    • doProcessWatchCall

      public Integer doProcessWatchCall() throws Exception
      Throws:
      Exception
    • printTable

      protected void printTable(List<org.apache.camel.dsl.jbang.core.commands.process.ListConsumer.Row> rows)
    • getSinceLast

      protected String getSinceLast(org.apache.camel.dsl.jbang.core.commands.process.ListConsumer.Row r)
    • sortRow

      protected int sortRow(org.apache.camel.dsl.jbang.core.commands.process.ListConsumer.Row o1, org.apache.camel.dsl.jbang.core.commands.process.ListConsumer.Row o2)
    • doCall

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

      protected void autoClearScreen()
    • clearScreen

      protected void clearScreen()
    • extractSince

      public static long extractSince(ProcessHandle ph)