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