Enum EFacesMessageSeverity

    • Enum Constant Detail

      • ERROR

        public static final EFacesMessageSeverity ERROR
        Represents the faces message severity FacesMessage.SEVERITY_ERROR.
      • FATAL

        public static final EFacesMessageSeverity FATAL
        Represents the faces message severity FacesMessage.SEVERITY_FATAL.
      • INFO

        public static final EFacesMessageSeverity INFO
        Represents the faces message severity FacesMessage.SEVERITY_INFO.
      • WARN

        public static final EFacesMessageSeverity WARN
        Represents the faces message severity FacesMessage.SEVERITY_WARN.
    • Method Detail

      • values

        public static EFacesMessageSeverity[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EFacesMessageSeverity c : EFacesMessageSeverity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EFacesMessageSeverity valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getFacesMessageSeverity

        public abstract javax.faces.application.FacesMessage.Severity getFacesMessageSeverity()
        Returns:
        The instance of FacesMessage.Severity represented by this instance.
      • ofFacesMessageSeverity

        public static EFacesMessageSeverity ofFacesMessageSeverity​(javax.faces.application.FacesMessage.Severity severity)
        Parameters:
        severity - A faces message severity.
        Returns:
        The corresponding instance of this enum, or null if the given severity is null.