Class ScorePackage
java.lang.Object
org.deltava.beans.flight.ScorePackage
A bean to store data used to generate a Flight Score.
- Since:
- 8.0
- Version:
- 11.4
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Comparator to sort warnings by severity in addition to ordinal. -
Constructor Summary
ConstructorsConstructorDescriptionScorePackage
(Aircraft a, FDRFlightReport fr, Runway rD, Runway rA, AircraftPolicyOptions opts) Creates a Flight Scoring package. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a message to the scoring package.void
add
(RouteEntry re) Adds data to the scoring package.Returns the aircraft profile used.getData()
Returns the flight data.Returns the Flight Report.Returns the scoring package messages.Returns the aircraft policy options.Returns the flight score.Returns the arrival Runway.Returns the departure Runway.Returns all warnings from this data set.(package private) void
setResult
(FlightScore fs) Updates the flight score.
-
Constructor Details
-
Method Details
-
add
Adds data to the scoring package.- Parameters:
re
- an ACARSRouteEntry
-
add
-
getAircraft
-
getFlightReport
-
getData
Returns the flight data.- Returns:
- a Collection of ACARSRouteEntry beans
-
getRunwayD
-
getRunwayA
-
getOptions
Returns the aircraft policy options.- Returns:
- an AircraftPolicyOptions bean
-
getMessages
Returns the scoring package messages.- Returns:
- a Collection of messages
-
getWarnings
Returns all warnings from this data set.- Returns:
- a Collection of Warnings
-
getResult
-
setResult
-