Module OneMTA

Interface BusRouteTypes

All Known Implementing Classes:
Bus.Route, Bus.Vehicle

public interface BusRouteTypes
Indicates that the bus route type can be retrieved.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns if the route is for an express bus.
    Returns if the route is for a limited bus.
    Returns if the route is for a +SelectBusService.
    Returns if the route is for a shuttle bus.
  • Method Details

    • isSelectBusService

      Boolean isSelectBusService()
      Returns if the route is for a +SelectBusService.
      Returns:
      +SelectBusService
      Since:
      1.0.0
    • isExpress

      Boolean isExpress()
      Returns if the route is for an express bus.
      Returns:
      express bus
      Since:
      1.0.0
    • isShuttle

      Boolean isShuttle()
      Returns if the route is for a shuttle bus.
      Returns:
      shuttle bus
      Since:
      1.0.0
    • isLimited

      Boolean isLimited()
      Returns if the route is for a limited bus.
      Returns:
      limited bus
      Since:
      1.0.0