Class AbstractParentCommand
java.lang.Object
org.wildfly.prospero.cli.commands.AbstractCommand
org.wildfly.prospero.cli.commands.AbstractParentCommand
- Direct Known Subclasses:
FeaturesCommand,RevertCommand,UpdateCommand
-
Field Summary
FieldsFields inherited from class org.wildfly.prospero.cli.commands.AbstractCommand
actionFactory, console -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractParentCommand(CliConsole console, ActionFactory actionFactory, String name, List<AbstractCommand> subcommands) -
Method Summary
Methods inherited from class org.wildfly.prospero.cli.commands.AbstractCommand
determineInstallationDirectory, verifyTargetDirectoryIsEmpty
-
Field Details
-
spec
protected picocli.CommandLine.Model.CommandSpec spec
-
-
Constructor Details
-
AbstractParentCommand
protected AbstractParentCommand(CliConsole console, ActionFactory actionFactory, String name, List<AbstractCommand> subcommands)
-
-
Method Details
-
addSubCommands
public void addSubCommands(picocli.CommandLine rootCmd) -
call
- Throws:
Exception
-