com.ibm.tivoli.maximo.map

Class MapTravelTimeMatrix

  • java.lang.Object
    • com.ibm.tivoli.maximo.map.MapTravelTimeMatrix


  • public class MapTravelTimeMatrix
    extends java.lang.Object
    This class is used to retrieve the travel time matrix from a list of origin points and a list of destination points using the selected map provider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List calculateTravelTimeMatrixFor(java.util.List originPoints, java.util.List destinationPoints, UserInfo userInfo)
      Returns a list with the travel times for all possible combinations of originPoints and destinationPoints.
      java.lang.String getCurrentProvider(UserInfo userInfo)
      Returns the current map provider
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapTravelTimeMatrix

        public MapTravelTimeMatrix()
    • Method Detail

      • calculateTravelTimeMatrixFor

        public java.util.List calculateTravelTimeMatrixFor(java.util.List originPoints,
                                                           java.util.List destinationPoints,
                                                           UserInfo userInfo)
                                                    throws java.rmi.RemoteException,
                                                           java.lang.Exception
        Returns a list with the travel times for all possible combinations of originPoints and destinationPoints.
        Parameters:
        originPoints -
        destinationPoints -
        userInfo - needed to retrieve the selected map provider
        Returns:
        List or null
        Throws:
        MXException
        java.rmi.RemoteException
        java.lang.Exception
        See Also:
        TravelTimeMatrix#calculateTravelTimeMatrixFor(List, List)
      • getCurrentProvider

        public java.lang.String getCurrentProvider(UserInfo userInfo)
                                            throws java.rmi.RemoteException,
                                                   MXException
        Returns the current map provider
        Parameters:
        userInfo -
        Returns:
        String
        Throws:
        MXException
        java.rmi.RemoteException