Package org.dspace.checker
Class CheckerConsumer
- java.lang.Object
-
- org.dspace.checker.CheckerConsumer
-
-
Field Summary
Fields Modifier and Type Field Description protected BitstreamServicebitstreamServiceprotected ChecksumHistoryServicechecksumHistoryService
-
Constructor Summary
Constructors Constructor Description CheckerConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsume(Context ctx, Event event)Consume an eventvoidend(Context ctx)Signal that there are no more events queued in this event stream.voidfinish(Context ctx)Finish - free any allocated resources.voidinitialize()Initialize - allocate any resources required to operate.
-
-
-
Field Detail
-
checksumHistoryService
protected ChecksumHistoryService checksumHistoryService
-
bitstreamService
protected BitstreamService bitstreamService
-
-
Method Detail
-
initialize
public void initialize() throws ExceptionInitialize - allocate any resources required to operate. Called at the start of ANY sequence of event consume() calls.- Specified by:
initializein interfaceConsumer- Throws:
Exception- if error
-
end
public void end(Context ctx) throws Exception
Signal that there are no more events queued in this event stream.
-
-