public interface PersistentContext
Modifier and Type | Method and Description |
---|---|
void |
addError(Throwable cause)
Add a error to the list of errors of the context.
|
boolean |
getCollectErrors()
Get information about if collect errors or launch it
when produce.
|
PersistenceException |
getErrors()
Get all errors collected to the moment in this context.
|
Iterator |
iterator()
Return an iterator over the states stored in this
context.
|
void |
setCollectErrors(boolean collectErrors)
Set flag to collect errors.
|
Iterator iterator()
void addError(Throwable cause)
cause
- PersistenceException getErrors()
void setCollectErrors(boolean collectErrors)
collectErrors
- boolean getCollectErrors()