Enum MvnTestType_1
- java.lang.Object
-
- java.lang.Enum<MvnTestType_1>
-
- com.gradle.scan.eventmodel.maven.test.MvnTestType_1
-
- All Implemented Interfaces:
Serializable
,Comparable<MvnTestType_1>
@MavenExtensionVersion(since="1.16") public enum MvnTestType_1 extends Enum<MvnTestType_1>
Type of the observed test container.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS
Identifies top-level and nested test classes.ENGINE
Identifies test engine used to executed child containers.OTHER
Identifies other types of test containers.PARTITION
Identifies test partitions created by Test Distribution.TEST
Identifies test methods.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MvnTestType_1
valueOf(String name)
Returns the enum constant of this type with the specified name.static MvnTestType_1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OTHER
@MavenExtensionVersion(since="1.16") public static final MvnTestType_1 OTHER
Identifies other types of test containers.
-
PARTITION
@MavenExtensionVersion(since="1.16") public static final MvnTestType_1 PARTITION
Identifies test partitions created by Test Distribution.
-
ENGINE
@MavenExtensionVersion(since="1.16") public static final MvnTestType_1 ENGINE
Identifies test engine used to executed child containers.
-
CLASS
@MavenExtensionVersion(since="1.16") public static final MvnTestType_1 CLASS
Identifies top-level and nested test classes.
-
TEST
@MavenExtensionVersion(since="1.16") public static final MvnTestType_1 TEST
Identifies test methods.
-
-
Method Detail
-
values
public static MvnTestType_1[] 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 (MvnTestType_1 c : MvnTestType_1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MvnTestType_1 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
-
-