public interface RunnableUsingBusinessEntity
Modifier and Type | Method and Description |
---|---|
void |
run(BusinessEntity result,
boolean success)
The method that will be called by the interface's users.
|
void run(BusinessEntity result, boolean success)
result
- The JSON Object to be used in the body.success
- Whether the previous operations were executed with success or not.