public class AvlConfig
extends java.lang.Object
Constructor and Description |
---|
AvlConfig() |
Modifier and Type | Method and Description |
---|---|
static int |
getAvlFeedTimeoutInMSecs()
For when polling AVL XML feed.
|
static float |
getMaxAvlLatitude() |
static java.lang.String |
getMaxAvlLatitudeParamName() |
static float |
getMaxAvlLongitude() |
static java.lang.String |
getMaxAvlLongitudeParamName() |
static double |
getMaxAvlSpeed()
Max speed that an AVL report is allowed to have.
|
static float |
getMinAvlLatitude()
For filtering out bad AVL reports.
|
static java.lang.String |
getMinAvlLatitudeParamName() |
static float |
getMinAvlLongitude() |
static java.lang.String |
getMinAvlLongitudeParamName() |
static int |
getMinTimeBetweenAvlReportsSecs()
Minimum allowable time in seconds between AVL reports for a vehicle.
|
static int |
getSecondsBetweenAvlFeedPolling()
How frequently an AVL feed should be polled for new data.
|
static java.lang.String |
getUnpredictableAssignmentsRegEx()
So can filter out unpredictable assignments such as for training coaches,
service vehicles, or simply vehicles that are not in service and should
not be attempted to be made predictable.
|
static double |
minSpeedForValidHeading()
If AVL report speed is below this threshold then the heading is not
considered valid.
|
static boolean |
shouldLogToStdOut()
For debugging.
|
static boolean |
shouldUseJms()
Specifies whether should use JMS to queue AVL data or if should
process directly using single thread.
|
public static boolean shouldUseJms()
public static int getSecondsBetweenAvlFeedPolling()
public static int getAvlFeedTimeoutInMSecs()
public static double getMaxAvlSpeed()
public static double minSpeedForValidHeading()
public static float getMinAvlLatitude()
public static java.lang.String getMinAvlLatitudeParamName()
public static float getMaxAvlLatitude()
public static java.lang.String getMaxAvlLatitudeParamName()
public static float getMinAvlLongitude()
public static java.lang.String getMinAvlLongitudeParamName()
public static float getMaxAvlLongitude()
public static java.lang.String getMaxAvlLongitudeParamName()
public static java.lang.String getUnpredictableAssignmentsRegEx()
public static int getMinTimeBetweenAvlReportsSecs()
public static boolean shouldLogToStdOut()