|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.batch.BatchProcessor.BatchProcessWorkerAdaptor
public abstract static class BatchProcessor.BatchProcessWorkerAdaptor
Adaptor that allows implementations to only implement BatchProcessor.BatchProcessWorker.process(Object)
| Constructor Summary | |
|---|---|
BatchProcessor.BatchProcessWorkerAdaptor()
|
|
| Method Summary | |
|---|---|
void |
afterProcess()
No-op |
void |
beforeProcess()
No-op |
java.lang.String |
getIdentifier(java.lang.Object 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, wait |
| Methods inherited from interface org.alfresco.repo.batch.BatchProcessor.BatchProcessWorker |
|---|
process |
| Constructor Detail |
|---|
public BatchProcessor.BatchProcessWorkerAdaptor()
| Method Detail |
|---|
public java.lang.String getIdentifier(java.lang.Object entry)
BatchProcessor.BatchProcessWorker
getIdentifier in interface BatchProcessor.BatchProcessWorkerentry - the entry
toString() of the entry
public void beforeProcess()
throws java.lang.Throwable
beforeProcess in interface BatchProcessor.BatchProcessWorkerjava.lang.Throwable
public void afterProcess()
throws java.lang.Throwable
afterProcess in interface BatchProcessor.BatchProcessWorkerjava.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||