Package com.microstrategy.web.tasks
Class HandlerTaskUtils
- java.lang.Object
-
- com.microstrategy.web.tasks.HandlerTaskUtils
-
public class HandlerTaskUtils extends java.lang.Object
Utils for tasks that use handlers.
-
-
Constructor Summary
Constructors Constructor Description HandlerTaskUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
execute(HandlerCall<T> handlerCall)
Executes a call and translates HandlerException to TaskException if thrown.
-
-
-
Method Detail
-
execute
public static <T> T execute(HandlerCall<T> handlerCall) throws TaskException
Executes a call and translates HandlerException to TaskException if thrown.- Type Parameters:
T
- Handler output type- Parameters:
handlerCall
- Handler call- Returns:
- Output of the handler
- Throws:
TaskException
- Handle exception wrapped
-
-