- Direct Known Subclasses:
- AddDishRestaurantMenu, AddDishToMeal, AddItemToOrder, AssociateCard, CreateMeal, CreateOrder, EndOrder, EndOrderAt, FindDeliverer, Help, Login, Logout, OffDuty, OnDuty, RegisterCourier, RegisterCustomer, RegisterManager, RegisterRestaurant, RemoveSpecialOffer, RenameMeal, RunTest, SetDeliveryPolicy, SetProfitPolicy, SetSpecialOffer, ShowCourier, ShowCourierOrdered, ShowCustomer, ShowMeal, ShowMenuItem, ShowProfitBetween, ShowRestaurantTop, ShowTotalProfit
public abstract class Command
extends java.lang.Object
Describes how all command are, composed by a commandName and a listOfArgs,
It allow to verify if each argument is correct, and if all arguments are there.
Commands execute should verify if the user is connected and have the good instance value
by using the ActiveUserContext variable.
- Author:
- Nicolas FLEY et Corentin RAVOUX