org.hibernate.search.exception.impl
Class ErrorContextBuilder

java.lang.Object
  extended by org.hibernate.search.exception.impl.ErrorContextBuilder

public class ErrorContextBuilder
extends Object

Since:
3.2
Author:
Amin Mohammed-Coleman

Constructor Summary
ErrorContextBuilder()
           
 
Method Summary
 ErrorContextBuilder addAllWorkThatFailed(List<LuceneWork> worksThatFailed)
           
 ErrorContextBuilder allWorkToBeDone(List<LuceneWork> workOnWriter)
           
 ErrorContext createErrorContext()
           
 ErrorContextBuilder errorThatOccurred(Throwable th)
           
 ErrorContextBuilder workCompleted(LuceneWork luceneWork)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorContextBuilder

public ErrorContextBuilder()
Method Detail

errorThatOccurred

public ErrorContextBuilder errorThatOccurred(Throwable th)

addAllWorkThatFailed

public ErrorContextBuilder addAllWorkThatFailed(List<LuceneWork> worksThatFailed)

workCompleted

public ErrorContextBuilder workCompleted(LuceneWork luceneWork)

allWorkToBeDone

public ErrorContextBuilder allWorkToBeDone(List<LuceneWork> workOnWriter)

createErrorContext

public ErrorContext createErrorContext()


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved