You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/02/21 14:21:49 UTC

(logging-log4j-tools) 29/29: Merge `Documented` into `Type` type in plugin model

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

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit d153adbcadf95f4933f15e00344d9744e8a611c5
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Wed Feb 21 15:21:08 2024 +0100

    Merge `Documented` into `Type` type in plugin model
---
 log4j-docgen/src/main/mdo/plugins-model.xml | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/log4j-docgen/src/main/mdo/plugins-model.xml b/log4j-docgen/src/main/mdo/plugins-model.xml
index a9dc5bf..0354bcc 100644
--- a/log4j-docgen/src/main/mdo/plugins-model.xml
+++ b/log4j-docgen/src/main/mdo/plugins-model.xml
@@ -99,25 +99,9 @@
             </fields>
         </class>
 
-        <class>
-            <name>Documented</name>
-            <description>Any documented element.</description>
-            <fields>
-                <field>
-                    <name>description</name>
-                    <association>
-                        <type>Description</type>
-                    </association>
-                    <required>true</required>
-                    <description>Description of the plugin.</description>
-                </field>
-            </fields>
-        </class>
-
         <class>
             <name>Type</name>
             <description>Any Java type used in a Log4j configuration.</description>
-            <superClass>Documented</superClass>
             <interfaces>
                 <interface>java.lang.Comparable&lt;Type&gt;</interface>
             </interfaces>
@@ -128,6 +112,13 @@
                     <required>true</required>
                     <description>Fully qualified name of the class implementing the plugin.</description>
                 </field>
+                <field>
+                    <name>description</name>
+                    <association>
+                        <type>Description</type>
+                    </association>
+                    <description>Description of the plugin.</description>
+                </field>
             </fields>
             <codeSegments>
                 <codeSegment>