Package io.camunda.tasklist.util
Class ConverterUtils
java.lang.Object
io.camunda.tasklist.util.ConverterUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Variablestatic FormtoForm(FormResponse apolloTask) static TaskSearchRequest.StateEnumtoSearchState(TaskState value) static TasktoTasks(List<TaskSearchResponse> tasks) static TaskSearchRequesttoTaskSearchRequest(TaskSearch taskSearch) static Variablestatic List<VariableInputDTO> toVariableInput(Map<String, Object> variablesMap) toVariables(List<VariableSearchResponse> variables)
-
Method Details
-
toSearchState
-
toVariable
public static Variable toVariable(VariableResponse var) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
improveVariable
public static Variable improveVariable(VariableSearchResponse var) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
toVariables
public static List<Variable> toVariables(List<VariableSearchResponse> variables) throws TaskListException - Throws:
TaskListException
-
toTask
- Throws:
TaskListException
-
toTasks
- Throws:
TaskListException
-
toVariableInput
public static List<VariableInputDTO> toVariableInput(Map<String, Object> variablesMap) throws TaskListException- Throws:
TaskListException
-
toForm
- Throws:
TaskListException
-
toTaskSearchRequest
- Throws:
TaskListException
-