public interface ISuccessIndicator
| Modifier and Type | Method and Description |
|---|---|
default ESuccess |
and(ISuccessIndicator aSuccess) |
default boolean |
isFailure() |
boolean |
isSuccess() |
default ESuccess |
or(ISuccessIndicator aSuccess) |
boolean isSuccess()
true on success and false on failure.default boolean isFailure()
true on failure and false on success.@Nonnull default ESuccess or(@Nonnull ISuccessIndicator aSuccess)
@Nonnull default ESuccess and(@Nonnull ISuccessIndicator aSuccess)
Copyright © 2014–2020 Philip Helger. All rights reserved.