public class ErrorContextBuilder extends Object
Constructor and Description |
---|
ErrorContextBuilder() |
Modifier and Type | Method and Description |
---|---|
ErrorContextBuilder |
addAllWorkThatFailed(List<LuceneWork> worksThatFailed) |
ErrorContextBuilder |
addWorkThatFailed(LuceneWork failedWork) |
ErrorContextBuilder |
allWorkToBeDone(Iterable<LuceneWork> workOnWriter) |
ErrorContext |
createErrorContext() |
ErrorContextBuilder |
errorThatOccurred(Throwable th) |
ErrorContextBuilder |
indexManager(IndexManager indexName) |
ErrorContextBuilder |
workCompleted(LuceneWork luceneWork) |
public ErrorContextBuilder errorThatOccurred(Throwable th)
public ErrorContextBuilder addWorkThatFailed(LuceneWork failedWork)
public ErrorContextBuilder addAllWorkThatFailed(List<LuceneWork> worksThatFailed)
public ErrorContextBuilder workCompleted(LuceneWork luceneWork)
public ErrorContextBuilder indexManager(IndexManager indexName)
public ErrorContextBuilder allWorkToBeDone(Iterable<LuceneWork> workOnWriter)
public ErrorContext createErrorContext()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved