Class TasksListJSONHelper
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.workspaces.tasks.json.TasksListJSONHelper
-
- All Implemented Interfaces:
LogEnabled
,Component
public class TasksListJSONHelper extends AbstractLogEnabled implements Component
Helper to convert tasks list to JSON
-
-
Constructor Summary
Constructors Constructor Description TasksListJSONHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
tasksListAsJson(TasksList tasksList)
Tasks list to json-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
TasksListJSONHelper
public TasksListJSONHelper()
-
-
Method Detail
-
tasksListAsJson
public Map<String,Object> tasksListAsJson(TasksList tasksList)
Tasks list to json- Parameters:
tasksList
- the tasks list- Returns:
- the tasks list to json
-
-