You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2022/08/28 07:35:08 UTC

[netbeans] 05/05: Updated the documentation with the APIchanges

This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit d74deb9a02f1afb7ebeb5a51504b1535295f6740
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Sat Aug 20 18:42:12 2022 -0700

    Updated the documentation with the APIchanges
---
 extide/gradle/apichanges.xml                       | 28 +++++++++++++---------
 .../modules/gradle/api/GradleBaseProject.java      |  9 +++++++
 .../netbeans/modules/gradle/api/GradleReport.java  |  3 ++-
 3 files changed, 28 insertions(+), 12 deletions(-)

diff --git a/extide/gradle/apichanges.xml b/extide/gradle/apichanges.xml
index db73ba3d3f..f3481b1b6f 100644
--- a/extide/gradle/apichanges.xml
+++ b/extide/gradle/apichanges.xml
@@ -83,6 +83,23 @@ is the proper place.
     <!-- ACTUAL CHANGES BEGIN HERE: -->
 
     <changes>
+        <change id="gradle-reports">
+            <api name="general"/>
+            <summary>Rich exception reports are exported from Gradle process.</summary>
+            <version major="2" minor="27"/>
+            <date day="20" month="8" year="2022"/>
+            <author login="sdedic"/>
+            <compatibility semantic="compatible" addition="yes"/>
+            <description>
+                Errors are transferred including their causes and script location(s), so the IDE may provide better messages or hints.
+                <p>
+                    The new class <code>
+                        <a href="@TOP@/org/netbeans/modules/gradle/api/GradleReport.html">GradleReport</a>
+                    </code> that contain this information is available from
+                <code><a href="@TOP@/org/netbeans/modules/gradle/api/GradleBaseProject.html#getProblems">GradleBaseProject.getProblems()</a></code> method.
+                </p>
+            </description>
+        </change>
         <change id="configuration-dependencies">
             <api name="general"/>
             <summary>Allow to inspect dependency tree</summary>
@@ -127,17 +144,6 @@ is the proper place.
             </description>
             <class package="org.netbeans.modules.gradle.api" name="NbGradleProject"/>
         </change>
-        <change id="gradle-reports">
-            <api name="general"/>
-            <summary>Rich exception reports are exported from Gradle process.</summary>
-            <version major="2" minor="23"/>
-            <date day="28" month="2" year="2022"/>
-            <author login="sdedic"/>
-            <compatibility semantic="compatible" addition="yes"/>
-            <description>
-                Errors are transferred including their causes and script location(s), so the IDE may provide better messages or hints.
-            </description>
-        </change>
         <change id="gradle-cli-update">
             <api name="general"/>
             <summary>GradleCommandLine Flag, Parameter, and Property implements GradleOptionItem interface</summary>
diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
index c7277f48da..e10de6b1be 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
@@ -171,6 +171,15 @@ public final class GradleBaseProject implements Serializable, ModuleSearchSuppor
         return includedBuilds;
     }
 
+    /**
+     * Return the list of problems reported by Gradle on
+     * project inspection. In an ideal case that should be an
+     * empty set.
+     *
+     * @return Gradle reported problems during inspection.
+     * 
+     * @since 2.27
+     */
     public Set<GradleReport> getProblems() {
         return problems;
     }
diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleReport.java b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleReport.java
index ff193824d7..d3a587e9c8 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleReport.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleReport.java
@@ -32,8 +32,9 @@ import org.openide.util.NbBundle;
 /**
  * Describes a problem in a buildscript reported by Gradle daemon and/or
  * our infrastructure.
- * 
+ *
  * @author sdedic
+ * @since 2.27
  */
 public final class GradleReport {
     private final String errorClass;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists