Package org.kie.api.task
Interface TaskContext
public interface TaskContext
-
Method Summary
Modifier and TypeMethodDescriptionReturns currently configured UserGroupCallback.Returns user id who performs the operationloadTaskVariables(Task task) Loads task (given as argument) variables - both input and output if exists.
-
Method Details
-
getUserGroupCallback
UserGroupCallback getUserGroupCallback()Returns currently configured UserGroupCallback.- Returns:
- returns user group callback
-
loadTaskVariables
Loads task (given as argument) variables - both input and output if exists. In case variables are already set they are not reread from data store.- Parameters:
task- task which should have variables (both input and output) set- Returns:
- returns task with variables set
-
getUserId
String getUserId()Returns user id who performs the operation- Returns:
- user id of the caller
-