com.neeve.tools
Class AdminTool.ListCommands

java.lang.Object
  extended by com.neeve.tools.interactive.commands.Command
      extended by com.neeve.tools.interactive.commands.AnnotatedCommand
          extended by com.neeve.tools.AdminTool.ListCommands
All Implemented Interfaces:
jline.console.completer.Completer
Enclosing class:
AdminTool

public final class AdminTool.ListCommands
extends com.neeve.tools.interactive.commands.AnnotatedCommand


Nested Class Summary
 
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
 
Field Summary
 
Fields inherited from class com.neeve.tools.interactive.commands.AnnotatedCommand
showHelp
 
Constructor Summary
AdminTool.ListCommands()
           
 
Method Summary
 void execute()
           
 void interrupt(Thread commandThread)
          Called to interrupt a command.
 boolean interruptable()
          Returns true if the command is interruptable.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminTool.ListCommands

public AdminTool.ListCommands()
Method Detail

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.