Package command.manager.commands
Class ExitCommand
java.lang.Object
command.manager.commands.ExitCommand
- All Implemented Interfaces:
AuthorizableCommand,BaseCommand,LocalizableCommand,PreProcessingCommandInterface
public class ExitCommand
extends Object
implements BaseCommand, AuthorizableCommand, LocalizableCommand
Terminates the application (without saving collection).
- Since:
- 1.0
- Author:
- Zerumi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBase method for command executing.getDescr()Base method for show command description.getName()Base method for show command nameBase method for get command OutputvoidsetCallerID(long id) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface command.manager.commands.intrface.BaseCommand
getArgs
-
Constructor Details
-
ExitCommand
public ExitCommand()
-
-
Method Details
-
getName
Description copied from interface:BaseCommandBase method for show command name- Specified by:
getNamein interfaceBaseCommand- Returns:
- command name
-
getDescr
Description copied from interface:BaseCommandBase method for show command description.- Specified by:
getDescrin interfaceBaseCommand- Returns:
- command description
-
execute
Description copied from interface:BaseCommandBase method for command executing.- Specified by:
executein interfaceBaseCommand- Parameters:
args- full array of entered line.
-
getResponse
Description copied from interface:BaseCommandBase method for get command Output- Specified by:
getResponsein interfaceBaseCommand- Returns:
- Full command output
-
setCallerID
public void setCallerID(long id) - Specified by:
setCallerIDin interfaceAuthorizableCommand
-
setLocale
- Specified by:
setLocalein interfaceLocalizableCommand
-