Package | Description |
---|---|
org.transitime.db.structs |
Contains the descriptions of the classes for the objects that are read
and written to the database.
|
Modifier and Type | Method and Description |
---|---|
static VehicleEvent |
VehicleEvent.create(AvlReport avlReport,
TemporalMatch match,
java.lang.String eventType,
java.lang.String description,
boolean predictable,
boolean becameUnpredictable,
java.lang.String supervisor)
A simpler way to create a VehicleEvent that gets a lot of its info from
the avlReport and match params.
|
static VehicleEvent |
VehicleEvent.create(java.util.Date time,
java.util.Date avlTime,
java.lang.String vehicleId,
java.lang.String eventType,
java.lang.String description,
boolean predictable,
boolean becameUnpredictable,
java.lang.String supervisor,
Location location,
java.lang.String routeId,
java.lang.String routeShortName,
java.lang.String blockId,
java.lang.String serviceId,
java.lang.String tripId,
java.lang.String stopId)
Constructs a vehicle event and logs it and queues it to be stored in
database.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<VehicleEvent> |
VehicleEvent.getVehicleEvents(java.lang.String agencyId,
java.util.Date beginTime,
java.util.Date endTime,
java.lang.String sqlClause)
Reads in all VehicleEvents from the database that were between the
beginTime and endTime.
|