Class AbstractOptionActivator
- java.lang.Object
-
- org.wildfly.core.cli.command.aesh.activator.AbstractOptionActivator
-
- All Implemented Interfaces:
org.aesh.command.activator.OptionActivator,CLIOptionActivator
- Direct Known Subclasses:
HideOptionActivator
public abstract class AbstractOptionActivator extends Object implements CLIOptionActivator
Base class to develop a CLI command activator. It implementsCLIOptionActivator.- Author:
- jfdenise
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractOptionActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandContextgetCommandContext()voidsetCommandContext(CommandContext commandContext)Called internally by the CLI in order to set theCommandContext
-
-
-
Method Detail
-
setCommandContext
public void setCommandContext(CommandContext commandContext)
Description copied from interface:CLIOptionActivatorCalled internally by the CLI in order to set theCommandContext- Specified by:
setCommandContextin interfaceCLIOptionActivator- Parameters:
commandContext- TheCommandContextinstance.
-
getCommandContext
public CommandContext getCommandContext()
- Specified by:
getCommandContextin interfaceCLIOptionActivator
-
-