java.lang.Object
com.adventure.commands.AbstractCommand
com.adventure.commands.DummyCmd
- All Implemented Interfaces:
Command
Command that does nothing
Only to be used when you want "dummy" command to appear as enabled (e.g. TextInput, y/n ...)
-
Field Summary
Fields inherited from class com.adventure.commands.AbstractCommand
args, BUSY_WAITING_QUANTUM, context, inputStream, logger, shouldTerminate, writer
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.adventure.commands.AbstractCommand
askConfirmation, correctArgumentsNumber, disableDummyCommands, disableSaveAll, enableDummyCommands, getArgs, getContext, getInputStream, getWriter, kill, reEnableSaved, safeReadNext, safeReadNextLine, setArgs, setContext, setInputStream, setWriter
-
Constructor Details
-
DummyCmd
public DummyCmd()
-
-
Method Details
-
execute
Dummy execution method.- Throws:
InterruptedException
- Never thrown.
-
getPossibleArgs
Dummy arguments.- Specified by:
getPossibleArgs
in interfaceCommand
- Specified by:
getPossibleArgs
in classAbstractCommand
- Returns:
- Empty list.
-