Package commandManager.commands
Class AddIfMaxCommand
java.lang.Object
commandManager.commands.AddIfMaxCommand
- All Implemented Interfaces:
BaseCommand
Add element if it's value greater than max value.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor with handler from 1.0AddIfMaxCommand(ModuleHandler<Route> handler) Provides choosing handler -
Method Summary
-
Constructor Details
-
AddIfMaxCommand
public AddIfMaxCommand()Default constructor with handler from 1.0 -
AddIfMaxCommand
Provides choosing handler- Parameters:
handler- ModuleHandler for operating- Since:
- 1.1
-
-
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
-
getArgs
Description copied from interface:BaseCommandBase method for show command arguments- Specified by:
getArgsin interfaceBaseCommand- Returns:
- command arguments pattern
-
execute
Description copied from interface:BaseCommandBase method for command executing.- Specified by:
executein interfaceBaseCommand- Parameters:
args- full array of entered line.- Throws:
BuildObjectException
-