Class TasksListJSONHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.workspaces.tasks.json.TasksListJSONHelper
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Helper to convert tasks list to JSON
-
Field Summary
Modifier and TypeFieldDescriptionprotected TasksListColorsComponent
The tasks list colors componentprotected TasksListIconsComponent
The tasks list icons componentstatic final String
The Avalon role -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(ServiceManager manager) tasksListAsJson
(TasksList tasksList) Tasks list to jsonMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role -
_tasksListColorsComponent
The tasks list colors component -
_tasksListIconsComponent
The tasks list icons component
-
-
Constructor Details
-
TasksListJSONHelper
public TasksListJSONHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
tasksListAsJson
Tasks list to json- Parameters:
tasksList
- the tasks list- Returns:
- the tasks list to json
-