Package org.sunbird.common.dto
Class ExecutionContext
- java.lang.Object
-
- org.sunbird.common.dto.ExecutionContext
-
public class ExecutionContext extends Object
- Author:
- rayulu
-
-
Constructor Summary
Constructors Constructor Description ExecutionContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Map<String,Object>getContextValues()static ExecutionContextgetCurrent()Map<String,Object>getGlobalContext()static StringgetRequestId()ResponsegetResponse()StringgetServiceCallStack()Stringpeek()Stringpop()voidpush(String methodName)voidremoveContext()voidsetContextValues(Map<String,Object> currentContextValues)voidsetContextValues(Map<String,Object> currentContextValues, String serviceCallStack)voidsetGlobalContext(Map<String,Object> globalContext)static voidsetRequestId(String requestId)
-
-
-
Method Detail
-
getCurrent
public static ExecutionContext getCurrent()
-
setRequestId
public static void setRequestId(String requestId)
-
getRequestId
public static String getRequestId()
-
setContextValues
public void setContextValues(Map<String,Object> currentContextValues, String serviceCallStack)
-
removeContext
public void removeContext()
-
cleanup
public void cleanup()
-
getResponse
public Response getResponse()
-
push
public void push(String methodName)
-
pop
public String pop()
-
peek
public String peek()
-
getServiceCallStack
public String getServiceCallStack()
-
-