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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeParameters(Stack<String> args, picocli.CommandLine.Model.ArgSpec argSpec, picocli.CommandLine.Model.CommandSpec cmdSpec) protected abstract voiddoConsumeParameters(Stack<String> args, T cmd) protected boolean
-
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:
consumeParametersin interfacepicocli.CommandLine.IParameterConsumer
-
doConsumeParameters
-
failIfEmptyArgs
protected boolean failIfEmptyArgs()
-