Class InfraBaseCommand

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand
org.apache.camel.dsl.jbang.core.commands.infra.InfraBaseCommand
All Implemented Interfaces:
Callable<Integer>
Direct Known Subclasses:
InfraCommand, InfraGet, InfraList, InfraLog, InfraPs, InfraRun, InfraStop

public abstract class InfraBaseCommand extends CamelCommand
  • Field Details

    • jsonMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper jsonMapper
  • Constructor Details

  • Method Details

    • getMetadata

      protected List<org.apache.camel.dsl.jbang.core.commands.infra.InfraBaseCommand.TestInfraService> getMetadata() throws IOException
      Throws:
      IOException
    • listServices

      public int listServices(Consumer<List<org.apache.camel.dsl.jbang.core.commands.infra.InfraBaseCommand.Row>> serviceConsumer) throws IOException
      Throws:
      IOException
    • getLogFileName

      public String getLogFileName(String service, String pid)
    • getJsonFileName

      public String getJsonFileName(String service, String pid)