Class VerifyConsumerWorker
- java.lang.Object
 - 
- com.evolveum.midpoint.ninja.action.worker.BaseWorker<O,T>
 - 
- com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker<VerifyOptions,ObjectType>
 - 
- com.evolveum.midpoint.ninja.action.worker.VerifyConsumerWorker
 
 
 
 
- 
- All Implemented Interfaces:
 Runnable
public class VerifyConsumerWorker extends AbstractWriterConsumerWorker<VerifyOptions,ObjectType>
TODO from design point of view handling of main writer and deltaWriter is just nasty. Fix this. Currently it was moved to VerifyReporter, still not very nice.- Author:
 - Radovan Semancik
 
 
- 
- 
Field Summary
- 
Fields inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
CONSUMER_POLL_TIMEOUT, context, operation, options, queue 
 - 
 
- 
Constructor Summary
Constructors Constructor Description VerifyConsumerWorker(NinjaContext context, VerifyOptions options, BlockingQueue<ObjectType> queue, OperationStatus operation) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected StringgetEpilog()protected StringgetProlog()VerifyResultgetResult()protected voidinit()protected voidwrite(Writer writer, ObjectType object)- 
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker
run 
- 
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
isDone, isWorkersDone, markDone, shouldConsumerStop 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
VerifyConsumerWorker
public VerifyConsumerWorker(NinjaContext context, VerifyOptions options, BlockingQueue<ObjectType> queue, OperationStatus operation)
 
 - 
 
- 
Method Detail
- 
init
protected void init()
- Overrides:
 initin classAbstractWriterConsumerWorker<VerifyOptions,ObjectType>
 
- 
destroy
public void destroy()
- Overrides:
 destroyin classAbstractWriterConsumerWorker<VerifyOptions,ObjectType>
 
- 
getProlog
protected String getProlog()
- Specified by:
 getPrologin classAbstractWriterConsumerWorker<VerifyOptions,ObjectType>
 
- 
getEpilog
protected String getEpilog()
- Specified by:
 getEpilogin classAbstractWriterConsumerWorker<VerifyOptions,ObjectType>
 
- 
write
protected void write(Writer writer, ObjectType object) throws IOException
- Specified by:
 writein classAbstractWriterConsumerWorker<VerifyOptions,ObjectType>- Throws:
 IOException
 
- 
getResult
public VerifyResult getResult()
 
 - 
 
 -