Class Task
java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.AbstractRdcDomainObject
eu.dzhw.fdz.metadatamanagement.common.domain.Task
- All Implemented Interfaces:
Serializable
public class Task extends AbstractRdcDomainObject
Task entity holding the current state of a long running task.
- Author:
- tgehrke
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Task.TaskState
State of tasks.static class
Task.TaskType
type of tasks. -
Field Summary
Fields Modifier and Type Field Description private eu.dzhw.fdz.metadatamanagement.common.rest.errors.ErrorListDto
errorList
The list of errors which occurred during execution of the task.private String
id
The id or task number of the task.private String
location
The location URI of the result of the task.private static long
serialVersionUID
private Task.TaskState
state
The current state of the task.private Task.TaskType
type
The type of the task. -
Constructor Summary
Constructors Constructor Description Task()
-
Method Summary
Methods inherited from class eu.dzhw.fdz.metadatamanagement.common.domain.AbstractRdcDomainObject
getId
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
id
The id or task number of the task. -
state
The current state of the task. -
location
The location URI of the result of the task. -
type
The type of the task. -
errorList
private eu.dzhw.fdz.metadatamanagement.common.rest.errors.ErrorListDto errorListThe list of errors which occurred during execution of the task.
-
-
Constructor Details
-
Task
public Task()
-