Package org.dspace.curate
Annotation Interface Suspendable
Annotation type for CurationTasks. A task is suspendable if it may
be suspended (halted) when a condition detected by the curation framework
occurs. The current implementation monitors and uses the status code
returned from the task to determine suspension, together with the
'invocation mode' - optionally set by the caller on the curation object.
Thus, it effectively means that if a task is iterating over a collection,
the first error, or failure will halt the process.
This ensures that the status code and result of the failure are preserved.
- Author:
- richardrodgers
-
Optional Element Summary
Optional Elements
-
Element Details
-
invoked
Curator.Invoked invoked- Default:
- ANY
-
statusCodes
int[] statusCodes- Default:
- {-1, 1}
-