Index
All Classes and Interfaces|All Packages|Serialized Form
A
- active() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
activerecord component. - apiKey(String) - Method in interface com.cta4j.bus.client.BusClient.Builder
-
Sets the API key used for authentication.
- apiKey(String) - Method in interface com.cta4j.train.client.TrainClient.Builder
-
Sets the API key used for authentication.
- approaching() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
approachingrecord component. - approaching() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
approachingrecord component. - ARRIVAL - Enum constant in enum class com.cta4j.bus.model.BusPredictionType
-
Indicates an arrival prediction.
- arrivals() - Method in record class com.cta4j.bus.model.Bus
-
Returns the value of the
arrivalsrecord component. - arrivals() - Method in record class com.cta4j.train.model.Train
-
Returns the value of the
arrivalsrecord component. - arrivalTime() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
arrivalTimerecord component. - arrivalTime() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
arrivalTimerecord component. - arrivalTime() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
arrivalTimerecord component. - arrivalTime() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
arrivalTimerecord component.
B
- BLUE - Enum constant in enum class com.cta4j.train.model.Route
-
The Blue Line route.
- BROWN - Enum constant in enum class com.cta4j.train.model.Route
-
The Brown Line route.
- build() - Method in interface com.cta4j.bus.client.BusClient.Builder
-
Builds a configured
BusClientinstance. - build() - Method in interface com.cta4j.train.client.TrainClient.Builder
-
Builds a configured
TrainClientinstance. - builder() - Static method in interface com.cta4j.bus.client.BusClient
-
Creates a new
BusClient.Builderfor configuring and building aBusClient. - builder() - Static method in interface com.cta4j.train.client.TrainClient
-
Creates a new
TrainClient.Builderfor configuring and building aTrainClient. - Bus - Record Class in com.cta4j.bus.model
-
A bus currently in service.
- Bus(String, String, String, BusCoordinates, List<UpcomingBusArrival>, Boolean) - Constructor for record class com.cta4j.bus.model.Bus
-
Creates an instance of a
Busrecord class. - BusClient - Interface in com.cta4j.bus.client
-
A client for interacting with the CTA Bus Tracker API.
- BusClient.Builder - Interface in com.cta4j.bus.client
-
A builder for configuring and creating
BusClientinstances. - BusCoordinates - Record Class in com.cta4j.bus.model
-
The coordinates and heading of a bus.
- BusCoordinates(BigDecimal, BigDecimal, Integer) - Constructor for record class com.cta4j.bus.model.BusCoordinates
-
Creates an instance of a
BusCoordinatesrecord class. - BusPredictionType - Enum Class in com.cta4j.bus.model
-
A type of bus prediction, either an arrival or a departure.
C
- com.cta4j.bus.client - package com.cta4j.bus.client
- com.cta4j.bus.model - package com.cta4j.bus.model
- com.cta4j.exception - package com.cta4j.exception
- com.cta4j.train.client - package com.cta4j.train.client
- com.cta4j.train.model - package com.cta4j.train.model
- coordinates() - Method in record class com.cta4j.bus.model.Bus
-
Returns the value of the
coordinatesrecord component. - coordinates() - Method in record class com.cta4j.train.model.Train
-
Returns the value of the
coordinatesrecord component. - cta4j.java.sdk - module cta4j.java.sdk
-
The cta4j Java SDK module.
- Cta4jException - Exception Class in com.cta4j.exception
-
A custom exception class for handling cta4j specific errors.
- Cta4jException(String) - Constructor for exception class com.cta4j.exception.Cta4jException
-
Constructs a new Cta4jException with the specified detail message.
- Cta4jException(String, Throwable) - Constructor for exception class com.cta4j.exception.Cta4jException
-
Constructs a new Cta4jException with the specified detail message and cause.
D
- delayed() - Method in record class com.cta4j.bus.model.Bus
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
delayedrecord component. - DEPARTURE - Enum constant in enum class com.cta4j.bus.model.BusPredictionType
-
Indicates a departure prediction.
- description() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
descriptionrecord component. - destination() - Method in record class com.cta4j.bus.model.Bus
-
Returns the value of the
destinationrecord component. - destination() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
destinationrecord component. - destination() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
destinationrecord component. - destinationName() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
destinationNamerecord component. - destinationName() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
destinationNamerecord component. - destinationStopId() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
destinationStopIdrecord component. - destinationStopId() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
destinationStopIdrecord component. - Detour - Record Class in com.cta4j.bus.model
-
A detour affecting one or more bus routes.
- Detour(String, String, Boolean, String, List<DetourRouteDirection>, Instant, Instant) - Constructor for record class com.cta4j.bus.model.Detour
-
Creates an instance of a
Detourrecord class. - DetourRouteDirection - Record Class in com.cta4j.bus.model
-
A bus route and its direction affected by a detour.
- DetourRouteDirection(String, String) - Constructor for record class com.cta4j.bus.model.DetourRouteDirection
-
Creates an instance of a
DetourRouteDirectionrecord class. - direction() - Method in record class com.cta4j.bus.model.DetourRouteDirection
-
Returns the value of the
directionrecord component. - direction() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
directionrecord component. - direction() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
directionrecord component. - distanceToStop() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
distanceToStoprecord component. - distanceToStop() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
distanceToStoprecord component.
E
- endTime() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
endTimerecord component. - equals(Object) - Method in record class com.cta4j.bus.model.Bus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.BusCoordinates
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.Detour
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.DetourRouteDirection
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.Route
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.Stop
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.StopArrival
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.model.StationArrival
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.model.Train
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.model.TrainCoordinates
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Indicates whether some other object is "equal to" this one.
- etaMinutes() - Method in record class com.cta4j.bus.model.StopArrival
-
Calculates the estimated time of arrival (ETA) in minutes from the current time to the predicted arrival time.
- etaMinutes() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Calculates the estimated time of arrival (ETA) in minutes from the current time to the predicted arrival time.
- etaMinutes() - Method in record class com.cta4j.train.model.StationArrival
-
Calculates the estimated time of arrival (ETA) in minutes from the prediction time to the arrival time.
- etaMinutes() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Calculates the estimated time of arrival (ETA) in minutes from the prediction time to the arrival time.
F
- faulted() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
faultedrecord component. - faulted() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
faultedrecord component. - flags() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
flagsrecord component. - flags() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
flagsrecord component.
G
- getBus(String) - Method in interface com.cta4j.bus.client.BusClient
-
Retrieves information about a specific bus by its ID.
- getDetours(String, String) - Method in interface com.cta4j.bus.client.BusClient
-
Retrieves a
Listof detours for a specific bus route and direction. - getDirections(String) - Method in interface com.cta4j.bus.client.BusClient
-
Retrieves a
Listof directions for a specific bus route. - getRoutes() - Method in interface com.cta4j.bus.client.BusClient
-
Retrieves a
Listof all bus routes. - getStationArrivals(String) - Method in interface com.cta4j.train.client.TrainClient
-
Retrieves a
Listof upcoming arrivals for a specific station. - getStopArrivals(String, String) - Method in interface com.cta4j.bus.client.BusClient
-
Retrieves a
Listof upcoming arrivals for a specific bus route and stop. - getStops(String, String) - Method in interface com.cta4j.bus.client.BusClient
-
Retrieves a
Listof stops for a specific bus route and direction. - getTrain(String) - Method in interface com.cta4j.train.client.TrainClient
-
Retrieves information about a specific train by its run number.
- GREEN - Enum constant in enum class com.cta4j.train.model.Route
-
The Green Line route.
H
- hashCode() - Method in record class com.cta4j.bus.model.Bus
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.BusCoordinates
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.Detour
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.DetourRouteDirection
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.Route
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.Stop
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.model.StationArrival
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.model.Train
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.model.TrainCoordinates
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns a hash code value for this object.
- heading() - Method in record class com.cta4j.bus.model.BusCoordinates
-
Returns the value of the
headingrecord component. - heading() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
headingrecord component. - heading() - Method in record class com.cta4j.train.model.TrainCoordinates
-
Returns the value of the
headingrecord component. - host(String) - Method in interface com.cta4j.bus.client.BusClient.Builder
-
Sets the API host used by the client.
- host(String) - Method in interface com.cta4j.train.client.TrainClient.Builder
-
Sets the API host used by the client.
I
- id() - Method in record class com.cta4j.bus.model.Bus
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.model.Route
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.model.Stop
-
Returns the value of the
idrecord component.
L
- latitude() - Method in record class com.cta4j.bus.model.BusCoordinates
-
Returns the value of the
latituderecord component. - latitude() - Method in record class com.cta4j.bus.model.Stop
-
Returns the value of the
latituderecord component. - latitude() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
latituderecord component. - latitude() - Method in record class com.cta4j.train.model.TrainCoordinates
-
Returns the value of the
latituderecord component. - longitude() - Method in record class com.cta4j.bus.model.BusCoordinates
-
Returns the value of the
longituderecord component. - longitude() - Method in record class com.cta4j.bus.model.Stop
-
Returns the value of the
longituderecord component. - longitude() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
longituderecord component. - longitude() - Method in record class com.cta4j.train.model.TrainCoordinates
-
Returns the value of the
longituderecord component.
N
- N_A - Enum constant in enum class com.cta4j.train.model.Route
-
Not available / not applicable.
- name() - Method in record class com.cta4j.bus.model.Route
-
Returns the value of the
namerecord component. - name() - Method in record class com.cta4j.bus.model.Stop
-
Returns the value of the
namerecord component.
O
P
- PINK - Enum constant in enum class com.cta4j.train.model.Route
-
The Pink Line route.
- predictionTime() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
predictionTimerecord component. - predictionTime() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
predictionTimerecord component. - predictionType() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
predictionTyperecord component. - predictionType() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
predictionTyperecord component. - PURPLE - Enum constant in enum class com.cta4j.train.model.Route
-
The Purple Line route.
R
- RED - Enum constant in enum class com.cta4j.train.model.Route
-
The Red Line route.
- route() - Method in record class com.cta4j.bus.model.Bus
-
Returns the value of the
routerecord component. - route() - Method in record class com.cta4j.bus.model.DetourRouteDirection
-
Returns the value of the
routerecord component. - route() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
routerecord component. - route() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
routerecord component. - route() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
routerecord component. - route() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
routerecord component. - Route - Enum Class in com.cta4j.train.model
-
A train route.
- Route - Record Class in com.cta4j.bus.model
-
A bus route.
- Route(String, String) - Constructor for record class com.cta4j.bus.model.Route
-
Creates an instance of a
Routerecord class. - routeDesignator() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
routeDesignatorrecord component. - routeDesignator() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
routeDesignatorrecord component. - routeDirection() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
routeDirectionrecord component. - routeDirection() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
routeDirectionrecord component. - routeDirections() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
routeDirectionsrecord component. - run() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
runrecord component. - run() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
runrecord component.
S
- scheduled() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
scheduledrecord component. - scheduled() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
scheduledrecord component. - startTime() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
startTimerecord component. - StationArrival - Record Class in com.cta4j.train.model
-
An arrival prediction for a train at a station.
- StationArrival(String, String, String, String, String, Route, String, String, Integer, Instant, Instant, Boolean, Boolean, Boolean, Boolean, String, BigDecimal, BigDecimal, Integer) - Constructor for record class com.cta4j.train.model.StationArrival
-
Creates an instance of a
StationArrivalrecord class. - stationId() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
stationIdrecord component. - stationId() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
stationIdrecord component. - stationName() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
stationNamerecord component. - stationName() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
stationNamerecord component. - Stop - Record Class in com.cta4j.bus.model
-
A bus stop.
- Stop(String, String, BigDecimal, BigDecimal) - Constructor for record class com.cta4j.bus.model.Stop
-
Creates an instance of a
Stoprecord class. - StopArrival - Record Class in com.cta4j.bus.model
-
An arrival prediction for a bus at a specific stop.
- StopArrival(BusPredictionType, String, String, String, BigInteger, String, String, String, String, Instant, Boolean) - Constructor for record class com.cta4j.bus.model.StopArrival
-
Creates an instance of a
StopArrivalrecord class. - stopDescription() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
stopDescriptionrecord component. - stopDescription() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
stopDescriptionrecord component. - stopId() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.train.model.StationArrival
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns the value of the
stopIdrecord component. - stopName() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
stopNamerecord component. - stopName() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
stopNamerecord component.
T
- toString() - Method in record class com.cta4j.bus.model.Bus
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.BusCoordinates
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.Detour
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.DetourRouteDirection
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.Route
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.Stop
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.model.StationArrival
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.model.Train
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.model.TrainCoordinates
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.model.UpcomingTrainArrival
-
Returns a string representation of this record class.
- Train - Record Class in com.cta4j.train.model
-
A train currently in service.
- Train(TrainCoordinates, List<UpcomingTrainArrival>) - Constructor for record class com.cta4j.train.model.Train
-
Creates an instance of a
Trainrecord class. - TrainClient - Interface in com.cta4j.train.client
-
A client for interacting with the CTA Train Tracker API.
- TrainClient.Builder - Interface in com.cta4j.train.client
-
A builder for configuring and creating
TrainClientinstances. - TrainCoordinates - Record Class in com.cta4j.train.model
-
The coordinates and heading of a train.
- TrainCoordinates(BigDecimal, BigDecimal, Integer) - Constructor for record class com.cta4j.train.model.TrainCoordinates
-
Creates an instance of a
TrainCoordinatesrecord class.
U
- UpcomingBusArrival - Record Class in com.cta4j.bus.model
-
An upcoming arrival prediction for a bus at a stop.
- UpcomingBusArrival(BusPredictionType, String, String, String, BigInteger, String, String, String, String, Instant, Boolean) - Constructor for record class com.cta4j.bus.model.UpcomingBusArrival
-
Creates an instance of a
UpcomingBusArrivalrecord class. - UpcomingTrainArrival - Record Class in com.cta4j.train.model
-
An upcoming arrival prediction for a train at a station.
- UpcomingTrainArrival(String, String, String, String, String, Route, String, String, Integer, Instant, Instant, Boolean, Boolean, Boolean, Boolean, String) - Constructor for record class com.cta4j.train.model.UpcomingTrainArrival
-
Creates an instance of a
UpcomingTrainArrivalrecord class.
V
- valueOf(String) - Static method in enum class com.cta4j.bus.model.BusPredictionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.train.model.Route
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.cta4j.bus.model.BusPredictionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.train.model.Route
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vehicleId() - Method in record class com.cta4j.bus.model.StopArrival
-
Returns the value of the
vehicleIdrecord component. - vehicleId() - Method in record class com.cta4j.bus.model.UpcomingBusArrival
-
Returns the value of the
vehicleIdrecord component. - version() - Method in record class com.cta4j.bus.model.Detour
-
Returns the value of the
versionrecord component.
Y
A B C D E F G H I L N O P R S T U V YAll Classes and Interfaces|All Packages|Serialized Form