Class TaskErrorNotification

java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.TaskErrorNotification

public class TaskErrorNotification
extends Object
DTO holding all information required for sending notifications to users in case an error occurred during task execution.
Author:
René Reitmann
  • Field Details

    • onBehalfOf

      private String onBehalfOf
      The name of the user for which the task has been executed. May be empty.
    • errorMessage

      @NotEmpty private @NotEmpty String errorMessage
      An error message indicating the reason of the error. Must not be empty.
    • taskType

      @NotNull private @NotNull Task.TaskType taskType
      The type of the task which has been executed. Must not be empty.
    • domainObjectId

      private String domainObjectId
      An id of a domainObject. May be empty.
  • Constructor Details

    • TaskErrorNotification

      public TaskErrorNotification()