IMPLTYPE - Implementation typepublic interface IHasErrorLevelComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>> extends IHasErrorLevel, ISeverityComparable<IMPLTYPE>, IGenericImplTrait<IMPLTYPE>, Serializable
IErrorLevel.| Modifier and Type | Method and Description |
|---|---|
default boolean |
isEqualSevereThan(IMPLTYPE aOther)
Check if this object is of the same level (= equal important) than the
passed object.
|
default boolean |
isLessOrEqualSevereThan(IMPLTYPE aOther)
Check if this object is of equal or lower level (= equally or less
important) than the passed object.
|
default boolean |
isLessSevereThan(IMPLTYPE aOther)
Check if this object is of lower level (= less important) than the passed
object.
|
default boolean |
isMoreOrEqualSevereThan(IMPLTYPE aOther)
Check if this object is of equal or higher level (= equally or more
important) than the passed object.
|
default boolean |
isMoreSevereThan(IMPLTYPE aOther)
Check if this object is of higher level (= more important) than the passed
object.
|
getErrorLevel, hasErrorLevel, isError, isFailure, isNoError, isSuccessand, orthisAsTdefault boolean isEqualSevereThan(@Nonnull IMPLTYPE aOther)
ISeverityComparableisEqualSevereThan in interface ISeverityComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>>aOther - The object to compare to.true if this object is equally important than the
passed object!default boolean isLessSevereThan(@Nonnull IMPLTYPE aOther)
ISeverityComparableisLessSevereThan in interface ISeverityComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>>aOther - The object to compare to.true if this object is less important than the passed
object!default boolean isLessOrEqualSevereThan(@Nonnull IMPLTYPE aOther)
ISeverityComparableisLessOrEqualSevereThan in interface ISeverityComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>>aOther - The object to compare to.true if this object is equally or less important than
the passed object!default boolean isMoreSevereThan(@Nonnull IMPLTYPE aOther)
ISeverityComparableisMoreSevereThan in interface ISeverityComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>>aOther - The object to compare to.true if this object is more important than the passed
object!default boolean isMoreOrEqualSevereThan(@Nonnull IMPLTYPE aOther)
ISeverityComparableisMoreOrEqualSevereThan in interface ISeverityComparable<IMPLTYPE extends IHasErrorLevelComparable<IMPLTYPE>>aOther - The object to compare to.true if this object is equally or more important than
the passed object!Copyright © 2014–2017 Philip Helger. All rights reserved.