Package org.alfresco.repo.batch
Class BatchProcessor.BatchProcessWorkerAdaptor<TT>
java.lang.Object
org.alfresco.repo.batch.BatchProcessor.BatchProcessWorkerAdaptor<TT>
- All Implemented Interfaces:
BatchProcessor.BatchProcessWorker<TT>
- Enclosing class:
- BatchProcessor<T>
@AlfrescoPublicApi
public abstract static class BatchProcessor.BatchProcessWorkerAdaptor<TT>
extends Object
implements BatchProcessor.BatchProcessWorker<TT>
Adaptor that allows implementations to only implement
BatchProcessor.BatchProcessWorker.process(Object)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNo-opvoidNo-opgetIdentifier(TT entry) Gets an identifier for the given entry (for monitoring / logging purposes).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.repo.batch.BatchProcessor.BatchProcessWorker
process
-
Constructor Details
-
BatchProcessWorkerAdaptor
public BatchProcessWorkerAdaptor()
-
-
Method Details
-
getIdentifier
Description copied from interface:BatchProcessor.BatchProcessWorkerGets an identifier for the given entry (for monitoring / logging purposes).- Specified by:
getIdentifierin interfaceBatchProcessor.BatchProcessWorker<TT>- Parameters:
entry- the entry- Returns:
- Returns the
toString()of the entry
-
beforeProcess
No-op- Specified by:
beforeProcessin interfaceBatchProcessor.BatchProcessWorker<TT>- Throws:
Throwable
-
afterProcess
No-op- Specified by:
afterProcessin interfaceBatchProcessor.BatchProcessWorker<TT>- Throws:
Throwable
-