Package org.alfresco.service.cmr.admin
Enum RepoUsage.LicenseMode
- java.lang.Object
-
- java.lang.Enum<RepoUsage.LicenseMode>
-
- org.alfresco.service.cmr.admin.RepoUsage.LicenseMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RepoUsage.LicenseMode>
- Enclosing class:
- RepoUsage
public static enum RepoUsage.LicenseMode extends java.lang.Enum<RepoUsage.LicenseMode>
Enumeration of the server license modes.- Since:
- 3.4
- Author:
- Derek Hulley
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTERPRISEThe server is running with full Enteprise license.TEAMThe server is running with a Team license.UNKNOWNThe license mode is unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RepoUsage.LicenseModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RepoUsage.LicenseMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTERPRISE
public static final RepoUsage.LicenseMode ENTERPRISE
The server is running with full Enteprise license.
-
TEAM
public static final RepoUsage.LicenseMode TEAM
The server is running with a Team license.
-
UNKNOWN
public static final RepoUsage.LicenseMode UNKNOWN
The license mode is unknown.
-
-
Method Detail
-
values
public static RepoUsage.LicenseMode[] 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 (RepoUsage.LicenseMode c : RepoUsage.LicenseMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RepoUsage.LicenseMode 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 namejava.lang.NullPointerException- if the argument is null
-
-