All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.routing.trippattern.RealTimeState Maven / Gradle / Ivy

package org.opentripplanner.routing.trippattern;

/**
 * The real-time state of a trip
 */
public enum RealTimeState {

    /**
     * The trip information comes from the GTFS feed, i.e. no real-time update has been applied.
     */
    SCHEDULED,

    /**
     * The trip information has been updated, but the trip pattern stayed the same as the trip
     * pattern of the scheduled trip.
     */
    UPDATED,

    /**
     * The trip has been canceled by a real-time update.
     */
    CANCELED,

    /**
     * The trip has been added using a real-time update, i.e. the trip was not present in the GTFS feed.
     */
    ADDED,

    /**
     * The trip information has been updated and resulted in a different trip pattern compared to
     * the trip pattern of the scheduled trip.
     */
    MODIFIED;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy