Class TripResource
- java.lang.Object
-
- org.onebusaway.watchdog.api.MetricResource
-
- org.onebusaway.watchdog.api.realtime.TripResource
-
@Path("/metric/realtime/trip") public class TripResource extends MetricResource
-
-
Field Summary
-
Fields inherited from class org.onebusaway.watchdog.api.MetricResource
_configuration, _log, _mapper
-
-
Constructor Summary
Constructors Constructor Description TripResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetAddedTripIds(String agencyId, String feedId)javax.ws.rs.core.ResponsegetAddedTrips(String agencyId, String feedId)javax.ws.rs.core.ResponsegetBusesInServicePercent(String agencyId, String feedId, String routeId)javax.ws.rs.core.ResponsegetCancelledTripIds(String agencyId, String feedId)javax.ws.rs.core.ResponsegetCancelledTrips(String agencyId, String feedId)javax.ws.rs.core.ResponsegetMatchedTripCount(String agencyId, String feedId)javax.ws.rs.core.ResponsegetScheduleRealtimeTripsDelta(String agencyId, String feedId, String routeId)javax.ws.rs.core.ResponsegetTotalRecords(String agencyId, String feedId)javax.ws.rs.core.ResponsegetUnmatchedTripIds(String agencyId, String feedId)javax.ws.rs.core.ResponsegetUnmatchedTrips(String agencyId, String feedId)-
Methods inherited from class org.onebusaway.watchdog.api.MetricResource
error, error, getAddedTripIdCt, getCancelledTripIdCt, getDataSources, getInvalidLocation, getLocationTotal, getMatchedStopCt, getScheduledTrips, getScheduledTrips, getTDS, getTotalRecordCount, getUnmatchedStopCt, getUnmatchedTripIdCt, getValidRealtimeTripIds, ok, setMetricConfiguration
-
-
-
-
Method Detail
-
getTotalRecords
@Path("{agencyId}/total") @GET @Produces("application/json") public javax.ws.rs.core.Response getTotalRecords(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getMatchedTripCount
@Path("{agencyId}/matched") @GET @Produces("application/json") public javax.ws.rs.core.Response getMatchedTripCount(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getUnmatchedTrips
@Path("{agencyId}/unmatched") @GET @Produces("application/json") public javax.ws.rs.core.Response getUnmatchedTrips(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getCancelledTrips
@Path("{agencyId}/cancelled") @GET @Produces("application/json") public javax.ws.rs.core.Response getCancelledTrips(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getAddedTrips
@Path("{agencyId}/added") @GET @Produces("application/json") public javax.ws.rs.core.Response getAddedTrips(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getUnmatchedTripIds
@Path("{agencyId}/unmatched-ids") @GET @Produces("application/json") public javax.ws.rs.core.Response getUnmatchedTripIds(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getCancelledTripIds
@Path("{agencyId}/cancelled-ids") @GET @Produces("application/json") public javax.ws.rs.core.Response getCancelledTripIds(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getAddedTripIds
@Path("{agencyId}/added-ids") @GET @Produces("application/json") public javax.ws.rs.core.Response getAddedTripIds(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId)
-
getScheduleRealtimeTripsDelta
@Path("{agencyId}/schedule-realtime-delta") @GET @Produces("application/json") public javax.ws.rs.core.Response getScheduleRealtimeTripsDelta(@PathParam("agencyId") String agencyId, @QueryParam("feedId") String feedId, @QueryParam("routeId") String routeId)
-
-