Class TaskParameter

java.lang.Object
io.goobi.viewer.api.rest.model.tasks.TaskParameter
Direct Known Subclasses:
PrerenderPdfsRequestParameters, SitemapRequestParameters, ToolsRequestParameters

public class TaskParameter extends Object
Object to create a Task. Used as rest parameter for the POST call to TasksResource. Must always pass a valid type parameter. Depending on the type, a subclass of TaskParameter may contain additional properties. These properties are interpreted in TaskManager.createTask(TaskType)
Author:
florian
  • Constructor Details

    • TaskParameter

      public TaskParameter()
    • TaskParameter

      public TaskParameter(TaskType type)
  • Method Details

    • getType

      public TaskType getType()
    • setType

      public void setType(TaskType type)