T
- the type of element that the callback is acting on.public interface CallbackContext<T>
Modifier and Type | Method and Description |
---|---|
T |
getCurrentElement() |
int |
getCurrentIndex() |
Transaction |
getCurrentTransaction() |
java.util.List<T> |
getElements() |
java.util.List<T> getElements()
Transaction getCurrentTransaction()
null
if there is no current transaction.int getCurrentIndex()
getElements()
of the element for which the callback
has been invoked.T getCurrentElement()
getElements().getCurrentIndex()
.