public interface EBCallback<Result,Error>
Modifier and Type | Method and Description |
---|---|
void |
onFail(EBRetryJobError<Error> error,
boolean abort)
Called by job on fail.
|
void |
onSuccess(Result result)
Called by job on success.
|
void onSuccess(Result result)
result
- Resultvoid onFail(EBRetryJobError<Error> error, boolean abort)
error
- EBRetryJobErrorabort
- true if should terminate.Copyright © 2016. All rights reserved.