/*
 * Copyright 2022 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.gradle.jvm.toolchain.internal.operations;


/**
 * Details about the Java tool being used and the toolchain it belongs to.
 *
 * @since 7.6
 */
public interface JavaToolchainUsageProgressDetails {

    /**
     * Name of the tool from Java distribution such as {@code javac}, {@code java} or {@code javadoc}.
     */
    String getToolName();

    /**
     * Toolchain to which the tool belongs.
     */
    JavaToolchain getToolchain();

    interface JavaToolchain {

        /**
         * Returns Java language version such as {@code 11.0.15}.
         */
        String getJavaVersion();

        /**
         * Display name of the toolchain vendor such as {@code Eclipse Temurin}.
         */
        String getJavaVendor();

        String getRuntimeName();

        String getRuntimeVersion();

        String getJvmName();

        String getJvmVersion();

        String getJvmVendor();

        String getArchitecture();

    }

}

@@ -1239,17 +1239,29 @@
       * 
-D
+Returns the d
 isplay n
@@ -1335,208 +1335,1101 @@
    *
-/%0A        String getJavaVendor();%0A%0A        String getRuntimeName();%0A%0A        String getRuntimeVersion();%0A%0A        String getJvmName();%0A%0A        String getJvmVersion();%0A%0A        String getJvmVendor();%0A
+ %3Cp%3E%0A         * The value could be normalized for uniformity, and does not necessarily correspond to a system property value.%0A         */%0A        String getJavaVendor();%0A%0A        /**%0A         * Returns Java runtime name such as %7B@code OpenJDK Runtime Environment%7D.%0A         */%0A        String getRuntimeName();%0A%0A        /**%0A         * Returns Java runtime version such as %7B@code 17.0.3.1+2-LTS%7D.%0A         */%0A        String getRuntimeVersion();%0A%0A        /**%0A         * Returns Java VM name such as %7B@code OpenJDK 64-Bit Server VM%7D.%0A         */%0A        String getJvmName();%0A%0A        /**%0A         * Returns Java VM version such as %7B@code 17.0.3.1+2-LTS%7D.%0A         * %3Cp%3E%0A         * This value is identical to %7B@link #getRuntimeVersion()%7D for most of the vendors,%0A         * but could still differ for example by not including the language version.%0A         */%0A        String getJvmVersion();%0A%0A        /**%0A         * Returns Java VM vendor such as %7B@code Eclipse Adoptium%7D.%0A         */%0A        String getJvmVendor();%0A%0A        /**%0A         * Returns OS architecture such as %7B@code amd64%7D.%0A         */
 %0A   

Add docs to the toolchain usage details