Package command.manager.commands
Class ClearCommand
java.lang.Object
command.manager.commands.ClearCommand
- All Implemented Interfaces:
AuthorizableCommand
,BaseCommand
,LocalizableCommand
,PreProcessingCommandInterface
public class ClearCommand
extends Object
implements BaseCommand, AuthorizableCommand, LocalizableCommand
Clears collection
- Since:
- 1.0
- Author:
- Zerumi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Base method for command executing.getDescr()
Base method for show command description.getName()
Base method for show command nameBase method for get command Outputvoid
setCallerID
(long id) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface command.manager.commands.intrface.BaseCommand
getArgs
-
Constructor Details
-
ClearCommand
public ClearCommand()
-
-
Method Details
-
getName
Description copied from interface:BaseCommand
Base method for show command name- Specified by:
getName
in interfaceBaseCommand
- Returns:
- command name
-
getDescr
Description copied from interface:BaseCommand
Base method for show command description.- Specified by:
getDescr
in interfaceBaseCommand
- Returns:
- command description
-
execute
Description copied from interface:BaseCommand
Base method for command executing.- Specified by:
execute
in interfaceBaseCommand
- Parameters:
args
- full array of entered line.
-
getResponse
Description copied from interface:BaseCommand
Base method for get command Output- Specified by:
getResponse
in interfaceBaseCommand
- Returns:
- Full command output
-
setCallerID
public void setCallerID(long id) - Specified by:
setCallerID
in interfaceAuthorizableCommand
-
setLocale
- Specified by:
setLocale
in interfaceLocalizableCommand
-