Class EventSeverity

  • All Implemented Interfaces:
    java.io.Serializable

    public final class EventSeverity
    extends java.lang.Object
    implements java.io.Serializable
    Enumeration class for event severities.
    See Also:
    Serialized Form
    • Constructor Detail

      • EventSeverity

        private EventSeverity​(java.lang.String name)
        Constructor to add a new named item.
        Parameters:
        name - Name of the item.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        the name of the enumeration
      • valueOf

        public static EventSeverity valueOf​(java.lang.String name)
        Returns the enumeration/singleton object based on its name.
        Parameters:
        name - the name of the enumeration value
        Returns:
        the enumeration object
      • readResolve

        private java.lang.Object readResolve()
                                      throws java.io.ObjectStreamException
        Throws:
        java.io.ObjectStreamException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object