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 Summary
Fields Modifier and Type Field Description private String
domainObjectId
An id of a domainObject.private @NotEmpty String
errorMessage
An error message indicating the reason of the error.private String
onBehalfOf
The name of the user for which the task has been executed.private @NotNull Task.TaskType
taskType
The type of the task which has been executed. -
Constructor Summary
Constructors Constructor Description TaskErrorNotification()
-
Method Summary
-
Field Details
-
onBehalfOf
The name of the user for which the task has been executed. May be empty. -
errorMessage
An error message indicating the reason of the error. Must not be empty. -
taskType
The type of the task which has been executed. Must not be empty. -
domainObjectId
An id of a domainObject. May be empty.
-
-
Constructor Details
-
TaskErrorNotification
public TaskErrorNotification()
-