Class UndertowCommand
- java.lang.Object
-
- com.aspectran.daemon.command.AbstractCommand
-
- com.aspectran.daemon.command.builtins.UndertowCommand
-
- All Implemented Interfaces:
Command
public class UndertowCommand extends AbstractCommand
Use the command 'undertow' to control the Undertow Server.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.aspectran.daemon.command.Command
Command.Descriptor
-
-
Constructor Summary
Constructors Constructor Description UndertowCommand(CommandRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandResult
execute(CommandParameters parameters)
This method will be called as the starting point to execute the logic for the action mapped to this command.Command.Descriptor
getDescriptor()
This method returns an instance of Command.Descriptor.-
Methods inherited from class com.aspectran.daemon.command.AbstractCommand
debug, error, failed, failed, failed, getCommandRegistry, getService, info, isIsolated, success, warn
-
-
-
-
Constructor Detail
-
UndertowCommand
public UndertowCommand(CommandRegistry registry)
-
-
Method Detail
-
execute
public CommandResult execute(CommandParameters parameters)
Description copied from interface:Command
This method will be called as the starting point to execute the logic for the action mapped to this command.- Parameters:
parameters
- the command parameters- Returns:
- the message output to the console as a result of an executed command
-
getDescriptor
public Command.Descriptor getDescriptor()
Description copied from interface:Command
This method returns an instance of Command.Descriptor. The descriptor is meta information about the command.- Returns:
- a Descriptor that is meta information about the command
-
-