Package jakarta.faces.application
Class FacesMessage.Severity
java.lang.Object
jakarta.faces.application.FacesMessage.Severity
- All Implemented Interfaces:
 Comparable
- Enclosing class:
 FacesMessage
Class used to represent message severity levels in a typesafe enumeration.
- 
Method Summary
Modifier and TypeMethodDescriptionintCompare thisFacesMessage.Severityinstance to the specified one.intReturn the ordinal value of thisFacesMessage.Severityinstance.toString()Return a String representation of thisFacesMessage.Severityinstance. 
- 
Method Details
- 
compareTo
Compare this
FacesMessage.Severityinstance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.- Specified by:
 compareToin interfaceComparable- Parameters:
 severity- The other object to be compared to
 - 
getOrdinal
public int getOrdinal()Return the ordinal value of this
FacesMessage.Severityinstance.- Returns:
 - the ordinal.
 
 - 
toString
Return a String representation of this
FacesMessage.Severityinstance. 
 -