Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.batch
Class BatchProcessor.BatchProcessWorkerAdaptor<TT>
java.lang.Object
  org.alfresco.repo.batch.BatchProcessor.BatchProcessWorkerAdaptor<TT>
Enclosing class:
BatchProcessor<T>

@org.alfresco.api.AlfrescoPublicApi
public abstract static class BatchProcessor.BatchProcessWorkerAdaptor<TT>
extends Object
Adaptor that allows implementations to only implement process(Object)

Constructor Summary
BatchProcessWorkerAdaptor()
Method Summary
void
afterProcess()
          No-op
void
beforeProcess()
          No-op
getIdentifier(TT entry)
          Gets an identifier for the given entry (for monitoring / logging purposes).
abstract void
process(TT entry)
          Processes the given entry.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
BatchProcessWorkerAdaptor
public BatchProcessWorkerAdaptor()
Method Detail
getIdentifier
public String getIdentifier(TT entry)
Gets an identifier for the given entry (for monitoring / logging purposes).
Parameters:
entry - the entry
Returns:
Returns the toString() of the entry

beforeProcess
public void beforeProcess()
                   throws Throwable
No-op
Throws:
Throwable

afterProcess
public void afterProcess()
                  throws Throwable
No-op
Throws:
Throwable

process
public abstract void process(TT entry)
                      throws Throwable
Processes the given entry.
Parameters:
entry - the entry
Throws:
Throwable - on any error

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.