Package de.xima.fc.mdl.enums
Enum EPluginCompatibility
- java.lang.Object
-
- java.lang.Enum<EPluginCompatibility>
-
- de.xima.fc.mdl.enums.EPluginCompatibility
-
- All Implemented Interfaces:
Serializable
,Comparable<EPluginCompatibility>
public enum EPluginCompatibility extends Enum<EPluginCompatibility>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIMITED
Potential compatibility issues (same major version, different minor version)NOT_COMPATIBLE
Incompatible (major version of plugin is greater than current FC version)NOT_COMPATIBLE_OLDER
Incompatible (major version of plugin is less than current FC version)PERFECT
Perfectly compatible (same major and minor version)UNKNOWN
Unknown compatibility
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EPluginCompatibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPluginCompatibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERFECT
public static final EPluginCompatibility PERFECT
Perfectly compatible (same major and minor version)
-
LIMITED
public static final EPluginCompatibility LIMITED
Potential compatibility issues (same major version, different minor version)
-
NOT_COMPATIBLE
public static final EPluginCompatibility NOT_COMPATIBLE
Incompatible (major version of plugin is greater than current FC version)
-
NOT_COMPATIBLE_OLDER
public static final EPluginCompatibility NOT_COMPATIBLE_OLDER
Incompatible (major version of plugin is less than current FC version)
-
UNKNOWN
public static final EPluginCompatibility UNKNOWN
Unknown compatibility
-
-
Method Detail
-
values
public static EPluginCompatibility[] 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 (EPluginCompatibility c : EPluginCompatibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPluginCompatibility 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
-
-