Class CamelCommand.ParameterConsumer<T>

java.lang.Object
org.apache.camel.dsl.jbang.core.commands.CamelCommand.ParameterConsumer<T>
All Implemented Interfaces:
picocli.CommandLine.IParameterConsumer
Enclosing class:
CamelCommand

protected abstract static class CamelCommand.ParameterConsumer<T> extends Object implements picocli.CommandLine.IParameterConsumer
  • Constructor Details

    • ParameterConsumer

      protected ParameterConsumer()
  • Method Details

    • consumeParameters

      public void consumeParameters(Stack<String> args, picocli.CommandLine.Model.ArgSpec argSpec, picocli.CommandLine.Model.CommandSpec cmdSpec)
      Specified by:
      consumeParameters in interface picocli.CommandLine.IParameterConsumer
    • doConsumeParameters

      protected abstract void doConsumeParameters(Stack<String> args, T cmd)
    • failIfEmptyArgs

      protected boolean failIfEmptyArgs()