Enum GroupArtifact
- java.lang.Object
-
- java.lang.Enum<GroupArtifact>
-
- de.sormuras.junit.platform.isolator.GroupArtifact
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GroupArtifact>
public enum GroupArtifact extends java.lang.Enum<GroupArtifact>
Maven group and artifact coordinates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ISOLATORISOLATOR_WORKERJUNIT_JUPITERJUNIT_JUPITER_APIJUNIT_JUPITER_ENGINEJUNIT_PLATFORM_COMMONSJUNIT_PLATFORM_CONSOLEJUNIT_PLATFORM_LAUNCHERJUNIT_PLATFORM_REPORTINGJUNIT_VINTAGE_ENGINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifact()java.lang.StringgetGroup()VersiongetVersion()java.lang.StringtoString()Returns aStringthat consists of the group and artifact separated by colon.java.lang.StringtoString(java.util.function.Function<Version,java.lang.String> version)java.lang.StringtoStringWithDefaultVersion()static GroupArtifactvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GroupArtifact[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISOLATOR
public static final GroupArtifact ISOLATOR
-
ISOLATOR_WORKER
public static final GroupArtifact ISOLATOR_WORKER
-
JUNIT_JUPITER
public static final GroupArtifact JUNIT_JUPITER
-
JUNIT_JUPITER_API
public static final GroupArtifact JUNIT_JUPITER_API
-
JUNIT_JUPITER_ENGINE
public static final GroupArtifact JUNIT_JUPITER_ENGINE
-
JUNIT_PLATFORM_COMMONS
public static final GroupArtifact JUNIT_PLATFORM_COMMONS
-
JUNIT_PLATFORM_CONSOLE
public static final GroupArtifact JUNIT_PLATFORM_CONSOLE
-
JUNIT_PLATFORM_LAUNCHER
public static final GroupArtifact JUNIT_PLATFORM_LAUNCHER
-
JUNIT_PLATFORM_REPORTING
public static final GroupArtifact JUNIT_PLATFORM_REPORTING
-
JUNIT_VINTAGE_ENGINE
public static final GroupArtifact JUNIT_VINTAGE_ENGINE
-
-
Method Detail
-
values
public static GroupArtifact[] 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 (GroupArtifact c : GroupArtifact.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupArtifact 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
-
getArtifact
public java.lang.String getArtifact()
-
getGroup
public java.lang.String getGroup()
-
getVersion
public Version getVersion()
-
toString
public java.lang.String toString()
Returns aStringthat consists of the group and artifact separated by colon.- Overrides:
toStringin classjava.lang.Enum<GroupArtifact>- Returns:
group + ':' + artifact
-
toString
public java.lang.String toString(java.util.function.Function<Version,java.lang.String> version)
-
toStringWithDefaultVersion
public java.lang.String toStringWithDefaultVersion()
-
-