Class TaskJSONHelper

All Implemented Interfaces:
LogEnabled, Component, Serviceable

public class TaskJSONHelper extends WorkspaceObjectJSONHelper implements Component
Helper to convert task to JSON
  • Field Details

    • ROLE

      public static final String ROLE
      The Avalon role
  • Constructor Details

  • Method Details

    • taskAsJSON

      public Map<String,Object> taskAsJSON(Task task, String lang, String siteName)
      Task as JSON
      Parameters:
      task - the task
      lang - the language
      siteName - the site name
      Returns:
      the task as JSON