Enum 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 Detail

      • ISOLATOR_WORKER

        public static final GroupArtifact ISOLATOR_WORKER
      • 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 name
        java.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 a String that consists of the group and artifact separated by colon.
        Overrides:
        toString in class java.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()