Class RoutingServices


  • public class RoutingServices
    extends java.lang.Object
    Routing related services
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
      static java.lang.String resource  
    • Constructor Summary

      Constructors 
      Constructor Description
      RoutingServices()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> getEstimatedTaskTime​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Computes the estimated time needed to perform the task.
      • Methods inherited from class java.lang.Object

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

      • module

        public static final java.lang.String module
    • Constructor Detail

      • RoutingServices

        public RoutingServices()
    • Method Detail

      • getEstimatedTaskTime

        public static java.util.Map<java.lang.String,​java.lang.Object> getEstimatedTaskTime​(DispatchContext ctx,
                                                                                                  java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Computes the estimated time needed to perform the task.
        Parameters:
        ctx - The DispatchContext that this service is operating in.
        context - Map containing the input parameters.
        Returns:
        Map with the result of the service, the output parameters.