Package org.dspace.curate
Class Curator.TaskRunner
java.lang.Object
org.dspace.curate.Curator.TaskRunner
- Enclosing class:
- Curator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidProxy method for logging with INFO levelprotected StringlogMessage(String id) Builds a useful log message for a curation task.booleanrun(DSpaceObject dso) booleanvoidprotected booleansuspend(int code)
-
Constructor Details
-
TaskRunner
-
-
Method Details
-
run
- Throws:
IOException
-
run
- Throws:
IOException
-
setResult
-
suspend
protected boolean suspend(int code) -
logMessage
Builds a useful log message for a curation task.- Parameters:
id- ID of DSpace Object- Returns:
- log message text
-
logInfo
Proxy method for logging with INFO level- Parameters:
message- that needs to be logged
-