Class ExportMiningConsumerWorker
- java.lang.Object
-
- com.evolveum.midpoint.ninja.action.worker.BaseWorker<O,T>
-
- com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker<ExportMiningOptions,FocusType>
-
- com.evolveum.midpoint.ninja.action.mining.ExportMiningConsumerWorker
-
- All Implemented Interfaces:
Runnable
public class ExportMiningConsumerWorker extends AbstractWriterConsumerWorker<ExportMiningOptions,FocusType>
-
-
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 ExportMiningConsumerWorker(NinjaContext context, ExportMiningOptions options, BlockingQueue<FocusType> queue, OperationStatus operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getEpilog()
protected String
getProlog()
protected void
init()
protected void
write(Writer writer, @NotNull FocusType object)
-
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.AbstractWriterConsumerWorker
destroy, run
-
Methods inherited from class com.evolveum.midpoint.ninja.action.worker.BaseWorker
isDone, isWorkersDone, markDone, shouldConsumerStop
-
-
-
-
Constructor Detail
-
ExportMiningConsumerWorker
public ExportMiningConsumerWorker(NinjaContext context, ExportMiningOptions options, BlockingQueue<FocusType> queue, OperationStatus operation)
-
-
Method Detail
-
init
protected void init()
- Overrides:
init
in classAbstractWriterConsumerWorker<ExportMiningOptions,FocusType>
-
getProlog
protected String getProlog()
- Specified by:
getProlog
in classAbstractWriterConsumerWorker<ExportMiningOptions,FocusType>
-
getEpilog
protected String getEpilog()
- Specified by:
getEpilog
in classAbstractWriterConsumerWorker<ExportMiningOptions,FocusType>
-
write
protected void write(Writer writer, @NotNull @NotNull FocusType object) throws SchemaException, IOException
- Specified by:
write
in classAbstractWriterConsumerWorker<ExportMiningOptions,FocusType>
- Throws:
SchemaException
IOException
-
-