Package titan.tasks

Class PdfConversionHandler

java.lang.Object
titan.tasks.PdfConversionHandler
All Implemented Interfaces:
TaskHandler

public class PdfConversionHandler extends Object implements TaskHandler
  • Constructor Details

    • PdfConversionHandler

      public PdfConversionHandler()
  • Method Details

    • execute

      public String execute(String payload)
      Description copied from interface: TaskHandler
      Executes a task with the given payload. Implementations should define the specific logic for processing the payload and generating a result.
      Specified by:
      execute in interface TaskHandler
      Parameters:
      payload - The input data or parameters for the task, typically in a serialized format like JSON or XML.
      Returns:
      A string representing the result of the task execution. This could be a success message, a serialized object, or an error message.