Package org.dspace.curate
CurationTask- Code to be applied to model objects. A task is invoked on a single object, and may analyze and/or modify it as required.
Curator- Applies tasks to model objects as requested. See this class for details of the order of application of tasks to objects.
Curation requests may be run immediately or queued for batch processing.
See TaskQueue and its relatives, Curation and its relatives
for more on queued curation.
Tasks may also be attached to a workflow step, so that a set of tasks is
applied to each uninstalled Item which passes through that step. See
XmlWorkflowCuratorService.
A task may return to the Curator a status code, a final status message, and an optional report character stream.
The Reporter classes absorb strings of text and preserve it in
various ways. A Reporter is a simple Appendable and makes no
assumptions about e.g. whether a string represents a complete line. If you
want your report formatted, insert appropriate newlines and other whitespace
as needed. Your tasks can emit marked-up text if you wish, but the stock
Reporter implementations make no attempt to render it.
Tasks may be annotated to inform the Curator of special properties. See
Distributive, Mutative, Suspendable etc.
-
ClassDescriptionAbstractCurationTask encapsulates a few common patterns of task use, resources, and convenience methods.CurationCli provides command-line access to Curation tools and processes.This is the CLI version of the
Curationscript.This Enum holds all the possible options and combinations for the Curation scriptThis is the CLI version of theCurationScriptConfigurationclass that handles the configuration for theCurationCliscriptCurationScriptConfiguration<T extends Curation>TheScriptConfigurationfor theCurationscriptCurationTask describes a rather generic ability to perform an operation upon a DSpace object.Curator orchestrates and manages the application of a one or more curation tasks to a DSpace object.invocation modes - used bySuspendabletasksAnnotation type for CurationTasks.Save a curation report to a unique file in the reports directory.FileTaskQueue provides a TaskQueue implementation based on flat files for the queues and semaphores.Write curation report records through the logging framework.Annotation type for CurationTasks.A marker interface needed to make curation reporter classes into plugins.ResolvedTask wraps an implementation of one of the CurationTask or ScriptedTask interfaces and provides for uniform invocation based on CurationTask methods.ScriptedTask describes a rather generic ability to perform an operation upon a DSpace object.Annotation type for CurationTasks.TaskQueue objects manage access to named queues of task entries.TaskQueueEntry defines the record or entry in the named task queues.TaskResolver takes a logical name of a curation task and attempts to deliver a suitable implementation object.Utils contains a few commonly occurring methods.Manage interactions between curation and workflow.