Class BookingStatusReceiver
java.lang.Object
com.montytskyi.Statuses.Implementations.BookingStatusReceiver
- All Implemented Interfaces:
StatusReceivable
An implementation class of the StatusReceivable interface which allows to create a status for the booking made by the user
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreceiveStatus
(String statusLabel) A method implemented from the interface StatusReceivable which allows to receive a specific status of a user's booking
-
Constructor Details
-
BookingStatusReceiver
public BookingStatusReceiver()
-
-
Method Details
-
receiveStatus
A method implemented from the interface StatusReceivable which allows to receive a specific status of a user's booking- Specified by:
receiveStatus
in interfaceStatusReceivable
- Parameters:
statusLabel
- - a string which defines a status of a booking- Returns:
- Booking Status of an existing user's booking
- Throws:
IllegalArgumentException
-