java.lang.Object
com.adventure.commands.AbstractCommand
com.adventure.commands.CmdClear
- All Implemented Interfaces:
Command
Clears the console.
-
Field Summary
Fields inherited from class com.adventure.commands.AbstractCommand
args, BUSY_WAITING_QUANTUM, context, inputStream, logger, shouldTerminate, writer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the command.Gets possible args for current command.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
-
CmdClear
public CmdClear()
-
-
Method Details
-
execute
public void execute()Description copied from interface:CommandExecutes the command. -
getPossibleArgs
Description copied from class:AbstractCommandGets possible args for current command.- Specified by:
getPossibleArgsin interfaceCommand- Specified by:
getPossibleArgsin classAbstractCommand- Returns:
- A list of possible arguments for the command.
-