@FunctionalInterface public interface Result
| Modifier and Type | Field and Description |
|---|---|
static Result |
GENERIC_FAILURE
Instance of
Result which always reports failure. |
static Result |
GENERIC_SUCCESS
Instance of
Result which always reports success. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
wasSuccessful()
Gets if the operation which produced this result completed successfully.
|