Package com.helger.commons.error.level
Class ErrorLevel
java.lang.Object
com.helger.commons.error.level.ErrorLevel
- All Implemented Interfaces:
IErrorLevel,IHasID<String>,ISeverityComparable<IErrorLevel>,IErrorIndicator,ISuccessIndicator
A standalone implementation of the
IErrorLevel interface.- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.error.level.IErrorLevel
compareTo, isEQ, isError, isFailure, isGE, isGT, isHighest, isLE, isLT, isNE, isNoError, isSuccessMethods inherited from interface com.helger.commons.state.ISuccessIndicator
and, or
-
Constructor Details
-
ErrorLevel
-
-
Method Details
-
getID
Description copied from interface:IHasIDGet the unique ID of this object. If the type isStringthan the returned value must match an XML NMToken expression (so e.g. no ':' in the ID)! -
getNumericLevel
- Specified by:
getNumericLevelin interfaceIErrorLevel- Returns:
- The numeric level of this error level. Must be ≥ 0. The higher the numeric level, the higher the priority of the error level. So e.g. ERROR has a higher/larger/greater numerical level than WARNING.
-
equals
-
hashCode
public int hashCode() -
toString
-