Class LegacyCommandContainer.LegacyCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.operation.LegacyCommandContainer.LegacyCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,SpecialCommand
- Enclosing class:
- LegacyCommandContainer
public class LegacyCommandContainer.LegacyCommand extends Object implements org.aesh.command.Command<CLICommandInvocation>, SpecialCommand
-
-
Constructor Summary
Constructors Constructor Description LegacyCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.aesh.command.CommandResultexecute(CLICommandInvocation commandInvocation)CommandHandlergetCommandHandler()StringgetLine()
-
-
-
Method Detail
-
getCommandHandler
public CommandHandler getCommandHandler()
-
execute
public org.aesh.command.CommandResult execute(CLICommandInvocation commandInvocation) throws org.aesh.command.CommandException, InterruptedException
- Specified by:
executein interfaceorg.aesh.command.Command<CLICommandInvocation>- Throws:
org.aesh.command.CommandExceptionInterruptedException
-
getLine
public String getLine()
- Specified by:
getLinein interfaceSpecialCommand
-
-