Enum IntelliJVersion
- java.lang.Object
-
- java.lang.Enum<IntelliJVersion>
-
- com.redhat.devtools.intellij.commonuitest.utils.runner.IntelliJVersion
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IntelliJVersion>
public enum IntelliJVersion extends java.lang.Enum<IntelliJVersion>
Enumeration for supported versions of the IntelliJ Idea* @author zcervink@redhat.com
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUltimate()inttoInt()java.lang.StringtoString()static IntelliJVersionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IntelliJVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMUNITY_V_2020_2
public static final IntelliJVersion COMMUNITY_V_2020_2
-
COMMUNITY_V_2020_3
public static final IntelliJVersion COMMUNITY_V_2020_3
-
COMMUNITY_V_2021_1
public static final IntelliJVersion COMMUNITY_V_2021_1
-
COMMUNITY_V_2021_2
public static final IntelliJVersion COMMUNITY_V_2021_2
-
COMMUNITY_V_2021_3
public static final IntelliJVersion COMMUNITY_V_2021_3
-
COMMUNITY_V_2022_1
public static final IntelliJVersion COMMUNITY_V_2022_1
-
COMMUNITY_V_2022_2
public static final IntelliJVersion COMMUNITY_V_2022_2
-
COMMUNITY_V_2022_3
public static final IntelliJVersion COMMUNITY_V_2022_3
-
COMMUNITY_V_2023_1
public static final IntelliJVersion COMMUNITY_V_2023_1
-
COMMUNITY_V_2023_2
public static final IntelliJVersion COMMUNITY_V_2023_2
-
COMMUNITY_V_2024_1
public static final IntelliJVersion COMMUNITY_V_2024_1
-
ULTIMATE_V_2020_2
public static final IntelliJVersion ULTIMATE_V_2020_2
-
ULTIMATE_V_2020_3
public static final IntelliJVersion ULTIMATE_V_2020_3
-
ULTIMATE_V_2021_1
public static final IntelliJVersion ULTIMATE_V_2021_1
-
ULTIMATE_V_2021_2
public static final IntelliJVersion ULTIMATE_V_2021_2
-
ULTIMATE_V_2023_2
public static final IntelliJVersion ULTIMATE_V_2023_2
-
ULTIMATE_V_2024_1
public static final IntelliJVersion ULTIMATE_V_2024_1
-
-
Method Detail
-
values
public static IntelliJVersion[] 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 (IntelliJVersion c : IntelliJVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IntelliJVersion 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<IntelliJVersion>
-
toInt
public int toInt()
-
isUltimate
public boolean isUltimate()
-
-