Enum LicenseEdition
- java.lang.Object
-
- java.lang.Enum<LicenseEdition>
-
- com.hivemq.extension.sdk.api.services.admin.LicenseEdition
-
- All Implemented Interfaces:
Serializable
,Comparable<LicenseEdition>
public enum LicenseEdition extends Enum<LicenseEdition>
The enum represents the edition for which HiveMQ is licensed.- Since:
- 4.2.0, CE 2020.1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMUNITY
The open source edition of HiveMQ.ENTERPRISE
Enterprise edition of HiveMQ.PROFESSIONAL
Professional edition of HiveMQ.TRIAL
An otherwise commercial instance of HiveMQ that is running without a license file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LicenseEdition
valueOf(String name)
Returns the enum constant of this type with the specified name.static LicenseEdition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMUNITY
public static final LicenseEdition COMMUNITY
The open source edition of HiveMQ.- Since:
- 4.2.0, CE 2020.1
-
TRIAL
public static final LicenseEdition TRIAL
An otherwise commercial instance of HiveMQ that is running without a license file.- Since:
- 4.2.0, CE 2020.1
-
PROFESSIONAL
public static final LicenseEdition PROFESSIONAL
Professional edition of HiveMQ.- Since:
- 4.2.0, CE 2020.1
-
ENTERPRISE
public static final LicenseEdition ENTERPRISE
Enterprise edition of HiveMQ.- Since:
- 4.2.0, CE 2020.1
-
-
Method Detail
-
values
public static LicenseEdition[] 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 (LicenseEdition c : LicenseEdition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LicenseEdition 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 nameNullPointerException
- if the argument is null
-
-