Package com.smeup.kokos.sdk.model
Class ExecutionContext
java.lang.Object
com.smeup.kokos.sdk.model.ExecutionContext
- Author:
- mattia.bonardi This refers to execution context passed to Micro Executor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]executeFun(Fun fun) <T extends SmeupDataStructure>
TexecuteFun(Fun fun, Class<T> responseType) voidexecuteFunAsync(Fun fun) <T extends SmeupDataStructure>
TexecuteFunWithTimeout(Fun fun, Class<T> responseType, Integer timeoutMillis) byte[]executeFunWithTimeout(Fun fun, Integer timeoutMillis) getApp()getDebug()getUser()voidvoidsetBatchContext(BatchContext batchContext) voidvoidsetFlowContext(FlowContext flowContext) voidsetLanguage(Language language) voidvoidsetServiceCaller(IServiceCaller serviceCaller) voidvoidsetVariableContext(VariableContext variableContext) voidsetVersion(String version)
-
Constructor Details
-
ExecutionContext
public ExecutionContext()
-
-
Method Details
-
getUser
-
setUser
-
getApp
-
setApp
-
getLocale
-
setLocale
-
getLanguage
-
setLanguage
-
getVariableContext
-
setVariableContext
-
getBatchContext
-
setBatchContext
-
getFlowContext
-
setFlowContext
-
setServiceCaller
-
getServiceCaller
-
getDebug
-
setDebug
-
executeFun
- Throws:
Exception
-
executeFun
- Throws:
Exception
-
executeFunWithTimeout
- Throws:
Exception
-
executeFunWithTimeout
public <T extends SmeupDataStructure> T executeFunWithTimeout(Fun fun, Class<T> responseType, Integer timeoutMillis) throws Exception - Throws:
Exception
-
executeFunAsync
- Throws:
Exception
-
getVersion
-
setVersion
-