com.neeve.tools
Class AdminTool.AdminCommand
java.lang.Object
com.neeve.tools.interactive.commands.Command
com.neeve.tools.interactive.commands.AnnotatedCommand
com.neeve.tools.AdminTool.AdminCommand
- All Implemented Interfaces:
- jline.console.completer.Completer
- Enclosing class:
- AdminTool
public final class AdminTool.AdminCommand
- extends com.neeve.tools.interactive.commands.AnnotatedCommand
| Nested classes/interfaces inherited from class com.neeve.tools.interactive.commands.AnnotatedCommand |
com.neeve.tools.interactive.commands.AnnotatedCommand.Argument, com.neeve.tools.interactive.commands.AnnotatedCommand.Command, com.neeve.tools.interactive.commands.AnnotatedCommand.Option, com.neeve.tools.interactive.commands.AnnotatedCommand.RemainingArgs |
| Nested classes/interfaces inherited from class com.neeve.tools.interactive.commands.Command |
com.neeve.tools.interactive.commands.Command.Console |
| Fields inherited from class com.neeve.tools.interactive.commands.AnnotatedCommand |
showHelp |
| Methods inherited from class com.neeve.tools.interactive.commands.AnnotatedCommand |
complete, help, help, helpHtml, hidden, keywords, run, usage, usageHtml |
| Methods inherited from class com.neeve.tools.interactive.commands.Command |
error, error, setConsole |
AdminTool.AdminCommand
public AdminTool.AdminCommand()
execute
public void execute()
throws Exception
- Specified by:
execute in class com.neeve.tools.interactive.commands.AnnotatedCommand
- Throws:
Exception
interruptable
public boolean interruptable()
- Returns true if the command is interruptable. The default value is false
- Overrides:
interruptable in class com.neeve.tools.interactive.commands.Command
- Returns:
- Whether or not the command is interruptable
interrupt
public void interrupt(Thread commandThread)
- Called to interrupt a command. The default implementation interrupt
the calling thread.
- Overrides:
interrupt in class com.neeve.tools.interactive.commands.Command
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.