Package org.sonar.updatecenter.common
Enum Release.Edition
- java.lang.Object
-
- java.lang.Enum<Release.Edition>
-
- org.sonar.updatecenter.common.Release.Edition
-
- All Implemented Interfaces:
Serializable,Comparable<Release.Edition>
- Enclosing class:
- Release
public static enum Release.Edition extends Enum<Release.Edition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMUNITYDATACENTERDEVELOPERENTERPRISE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Release.EditionvalueOf(String name)Returns the enum constant of this type with the specified name.static Release.Edition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMUNITY
public static final Release.Edition COMMUNITY
-
DEVELOPER
public static final Release.Edition DEVELOPER
-
ENTERPRISE
public static final Release.Edition ENTERPRISE
-
DATACENTER
public static final Release.Edition DATACENTER
-
-
Method Detail
-
values
public static Release.Edition[] 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 (Release.Edition c : Release.Edition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Release.Edition 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
-
-