Class TaskInfoManager


  • public final class TaskInfoManager
    extends java.lang.Object
    TaskInfoManager
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ITaskInfoProvider getProvider​(java.lang.String strProviderKey)
      Get the provider from a given provider key
      static java.util.List<ITaskInfoProvider> getProvidersList()
      Get the list of provider
      static java.lang.String getTaskResourceInfo​(int nIdHistory, int nIdTask, javax.servlet.http.HttpServletRequest request)
      Get the task resource info.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getProvidersList

        public static java.util.List<ITaskInfoProvider> getProvidersList()
        Get the list of provider
        Returns:
        the list of providers
      • getProvider

        public static ITaskInfoProvider getProvider​(java.lang.String strProviderKey)
        Get the provider from a given provider key
        Parameters:
        strProviderKey - the provider key
        Returns:
        the provider
      • getTaskResourceInfo

        public static java.lang.String getTaskResourceInfo​(int nIdHistory,
                                                           int nIdTask,
                                                           javax.servlet.http.HttpServletRequest request)
        Get the task resource info. This method will first get the appropriate provider from the given id task.
        Parameters:
        nIdHistory - the id history
        nIdTask - the id task
        request - the HTTP request
        Returns:
        the task resource info