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:
- 12.4
- Author:
- Luke
-
Constructor Summary
ConstructorsConstructorDescriptionEventFlightHelper(FlightReport fr, boolean negativeMsgsOnly) Initializes the Helper. -
Method Summary
Modifier and TypeMethodDescriptionReturns the analysis messages.booleanReturns whether the Flight matches a particular Online Event.voidsetTimeBuffer(int min) Sets the time buffer around the Online Event start/end times.
-
Constructor Details
-
EventFlightHelper
Initializes the Helper.- Parameters:
fr- a Flight ReportnegativeMsgsOnly- TRUE to only store exclusion messages, otherwise FALSE
-
-
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
-