Package org.apache.pulsar.internal
Class CommanderFactory
java.lang.Object
org.apache.pulsar.internal.CommanderFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic picocli.CommandLinecreateRootCommanderWithHook(Object object, picocli.CommandLine.IDefaultValueProvider defaultValueProvider) createRootCommanderWithHook is used for the root command, which supports the hook feature.
-
Constructor Details
-
CommanderFactory
public CommanderFactory()
-
-
Method Details
-
createRootCommanderWithHook
public static picocli.CommandLine createRootCommanderWithHook(Object object, picocli.CommandLine.IDefaultValueProvider defaultValueProvider) createRootCommanderWithHook is used for the root command, which supports the hook feature.- Parameters:
object- Command class or object.defaultValueProvider- Default value provider of command.- Returns:
- Picocli commander.
-