public abstract static class AsyncJobError.Builder<T extends AsyncJobError.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected AsyncJobError.ErrorCode |
errorCode |
protected String |
errorText |
Constructor and Description |
---|
AsyncJobError.Builder() |
Modifier and Type | Method and Description |
---|---|
AsyncJobError |
build() |
T |
errorCode(AsyncJobError.ErrorCode errorCode) |
T |
errorText(String errorText) |
T |
fromAsyncJobError(AsyncJobError in) |
protected abstract T |
self() |
protected AsyncJobError.ErrorCode errorCode
protected String errorText
protected abstract T self()
public T errorCode(AsyncJobError.ErrorCode errorCode)
AsyncJobError.getErrorCode()
public T errorText(String errorText)
AsyncJobError.getErrorText()
public AsyncJobError build()
public T fromAsyncJobError(AsyncJobError in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.