Class EventFlightHelper

java.lang.Object
org.deltava.beans.event.EventFlightHelper

public class EventFlightHelper extends Object
A utility class to determine what Online Events a flight may have participated in.
Since:
9.0
Version:
11.0
Author:
Luke
  • Constructor Details

    • EventFlightHelper

      public EventFlightHelper(FlightReport fr)
      Initializes the Helper.
      Parameters:
      fr - a Flight Report
  • Method Details

    • getMessages

      public Collection<String> 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

      public boolean matches(Event e)
      Returns whether the Flight matches a particular Online Event.
      Parameters:
      e - an Event
      Returns:
      TRUE if the flight matches participation criteria, otherwise FALSE