CurationTask
org.sagebionetworks.repo.model.curation.CurationTask
The CurationTask provides instructions for a Data Contributor on how data or metadata of a specific type should be both added to a project and curated. There should be a CurationTask for each type of data/metadata to be contributed to a project. There are currently two categories of curation tasks: file-based metadata collection and record-based metadata collection. For each category there will be a concrete implementation of this interface. This interfaces defines the common fields of all CurationTasks.
| Field | Type | Description |
|---|---|---|
| taskId | INTEGER | The unique identifier issued to this task when it was created. |
| dataType | STRING | Will match the data type that a contributor plans to contribute. The dataType must be unique within a project. |
| projectId | STRING | The synId of the project. |
| instructions | STRING | Instructions to the data contributor. |
| etag | STRING | Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time an entity is updated it is used to detect when a client's current representation of an entity is out-of-date. |
| createdOn | STRING | |
| modifiedOn | STRING | |
| createdBy | STRING | |
| modifiedBy | STRING | |
| taskProperties | CurationTaskProperties | The properties of a CurationTask |