Class AbstractCommandActivator
- java.lang.Object
-
- org.wildfly.core.cli.command.aesh.activator.AbstractCommandActivator
-
- All Implemented Interfaces:
org.aesh.command.activator.CommandActivator,CLICommandActivator
- Direct Known Subclasses:
ConnectedActivator
public abstract class AbstractCommandActivator extends Object implements CLICommandActivator
Base class to develop a CLI command activator. It implementsCLICommandActivator.- Author:
- jfdenise
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCommandActivator()
-
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:CLICommandActivatorCalled internally by the CLI in order to set theCommandContext- Specified by:
setCommandContextin interfaceCLICommandActivator- Parameters:
commandContext- TheCommandContextinstance.
-
getCommandContext
public CommandContext getCommandContext()
- Specified by:
getCommandContextin interfaceCLICommandActivator
-
-