Package com.vikingcloud.horsetrack.command
package com.vikingcloud.horsetrack.command
-
ClassDescriptionImplementation of the Bet Command which allows handling bets for a racehorse with a number and an amount.Interface which defines the pattern for all the commands of the system.Implementation of the Invalid Bet Command which allows handling scenarios where the user attempts to make invalid bets.Implementation of the Invalid Command which allows handling scenarios where the user attempts to use invalid commands.Implementation of the Invalid Horse Number Command which allows handling scenarios where the user attempts to execute commands on racehorses non-existing in the system.Implementation of the Quit Command which allows terminating the execution of the application.Implementation of the Restock Command which allows the user to restock the cash inventory.Implementation of the Set Winner Command which allows the user to set the winner racehorse.