Class EventFlightHelper
java.lang.Object
org.deltava.beans.event.EventFlightHelper
A utility class to determine what Online Events a flight may have participated in.
- Since:
- 9.0
- Version:
- 11.0
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the analysis messages.boolean
Returns whether the Flight matches a particular Online Event.void
setTimeBuffer
(int min) Sets the time buffer around the Online Event start/end times.
-
Constructor Details
-
EventFlightHelper
-
-
Method Details
-
getMessages
Returns the analysis messages.- Returns:
- a Collection of messages
-
setTimeBuffer
public void setTimeBuffer(int min) Sets the time buffer around the Online Event start/end times.- Parameters:
min
- the buffer in minutes
-
matches
Returns whether the Flight matches a particular Online Event.- Parameters:
e
- an Event- Returns:
- TRUE if the flight matches participation criteria, otherwise FALSE
-