Package com.iizix.license.history
Enum Class LicensingHistoryEvent
- All Implemented Interfaces:
- Serializable,- Comparable<LicensingHistoryEvent>,- Constable
License system event types used in the 
LicensingHistoryEntry.- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionUnknown event: do not use it!License activated.Broken license.License created.License deactivated.Hardware change.Hardware error.Installation (hardware) change.License timestamp.License restored from backup.License revoked by system.System time changed.Trial period beginning.Trial period end.Trial period extended.Change of user.User login.User logout.User has revoked the license.Product version change.
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescription- static LicensingHistoryEvent- from- (int value) Gets the event from a value.- getText()Gets the English text.- toString()Performs toString() by displaying the text instead of the enum name.- static LicensingHistoryEventReturns the enum constant of this class with the specified name.- static LicensingHistoryEvent[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- CREATEDLicense created.
- TRIAL_BEGINTrial period beginning.
- TRIAL_EXTENDEDTrial period extended.
- TRIAL_ENDTrial period end.
- ACTIVATEDLicense activated.
- TIME_CHANGEDSystem time changed.
- HARDWARE_CHANGEDHardware change.
- INSTALLATION_CHANGEDInstallation (hardware) change.
- VERSION_CHANGEDProduct version change.
- LICENSE_TIMESTAMPLicense timestamp.
- DEACTIVATEDLicense deactivated.
- USER_LOGOUTUser logout.
- USER_LOGINUser login.
- USER_CHANGEChange of user.
- USER_REVOKEDUser has revoked the license.
- SYSTEM_REVOKEDLicense revoked by system.
- BROKENBroken license.
- HARDWARE_ERRORHardware error.
- RESTOREDLicense restored from backup.
- _UNKNOWN_Unknown event: do not use it!
 
- Field Details- valuepublic final int valueThe number.
- textThe text.
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- getTextGets the English text.- Returns:
- The string in English for the event.
 
- toStringPerforms toString() by displaying the text instead of the enum name.- Overrides:
- toStringin class- Enum<LicensingHistoryEvent>
- Returns:
- The text String.
 
- fromGets 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.