public interface Coin<R>
Base interface for a coin.
| Modifier and Type | Method and Description |
|---|---|
R |
getReturn()
Get the actual return object of the method using this coin.
|
default boolean |
hasErrorReports()
Tests if the coin has errors to report.
|
default boolean |
hasInfoReports()
Tests if the coin has information to report.
|
default boolean |
hasWarningReports()
Tests if the coin has warnings to report.
|
default boolean |
isError()
Tests if the coin is tails (positive return).
|
default boolean |
isHeads()
Tests if the coin is heads (positive return).
|
default boolean |
isSuccess()
Tests if the coin is heads (positive return).
|
default boolean |
isTails()
Tests if the coin is tails (negative return).
|
default boolean |
reportsErrors()
Tests if the coin reports errors.
|
default boolean |
reportsInfo()
Tests if the coin reports information.
|
default boolean |
reportsWarnings()
Tests if the coin reports warnings.
|
R getReturn()
Get the actual return object of the method using this coin.
default boolean isHeads()
Tests if the coin is heads (positive return).
default boolean isSuccess()
Tests if the coin is heads (positive return).
default boolean isTails()
Tests if the coin is tails (negative return).
default boolean isError()
Tests if the coin is tails (positive return).
default boolean reportsErrors()
Tests if the coin reports errors.
default boolean hasErrorReports()
Tests if the coin has errors to report.
default boolean reportsInfo()
Tests if the coin reports information.
default boolean hasInfoReports()
Tests if the coin has information to report.
default boolean reportsWarnings()
Tests if the coin reports warnings.
default boolean hasWarningReports()
Tests if the coin has warnings to report.
Copyright © 2016–2017. All rights reserved.