Enum LicensingHistoryEvent

    • Field Detail

      • value

        public final int value
        The number.
      • text

        protected final java.lang.String text
        The text.
    • Method Detail

      • values

        public static LicensingHistoryEvent[] 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 (LicensingHistoryEvent c : LicensingHistoryEvent.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LicensingHistoryEvent valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getText

        public java.lang.String getText()
        Gets the English text.
        Returns:
        The string in English for the event.
      • toString

        public java.lang.String toString()
        Performs toString() by displaying the text instead of the enum name.
        Overrides:
        toString in class java.lang.Enum<LicensingHistoryEvent>
        Returns:
        The text String.
      • from

        public static LicensingHistoryEvent from​(int value)
        Gets the event from a value.
        Parameters:
        value - The value.
        Returns:
        The LicensingHistoryEvent that corresponds with the value (not the ordinal), _UNKNOWN_ if not found. If not found, a log entry with stack trace is done.