yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [yetus] 03/03: YETUS-732. javadocs need to be written for releasedocmaker
Date Fri, 04 Jan 2019 14:30:39 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 3a14572de2144ac7b12e0cd778f248eeef91bddf
Author: Allen Wittenauer <aw@apache.org>
AuthorDate: Mon Dec 31 22:15:46 2018 -0800

    YETUS-732. javadocs need to be written for releasedocmaker
    
    Signed-off-by: Allen Wittenauer <aw@apache.org>
---
 releasedocmaker/pom.xml                                 |  5 +++++
 .../apache/yetus/releasedocmaker/ReleaseDocMaker.java   | 17 +++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/releasedocmaker/pom.xml b/releasedocmaker/pom.xml
index 75d541d..029f439 100644
--- a/releasedocmaker/pom.xml
+++ b/releasedocmaker/pom.xml
@@ -39,6 +39,11 @@
       <artifactId>jython-shaded</artifactId>
       <version>${jython-shaded.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.yetus</groupId>
+      <artifactId>audience-annotations</artifactId>
+      <version>${project.version}</version>
+    </dependency>
   </dependencies>
 
   <build>
diff --git a/releasedocmaker/src/main/java/org/apache/yetus/releasedocmaker/ReleaseDocMaker.java
b/releasedocmaker/src/main/java/org/apache/yetus/releasedocmaker/ReleaseDocMaker.java
index 5633180..1b6e8db 100644
--- a/releasedocmaker/src/main/java/org/apache/yetus/releasedocmaker/ReleaseDocMaker.java
+++ b/releasedocmaker/src/main/java/org/apache/yetus/releasedocmaker/ReleaseDocMaker.java
@@ -26,7 +26,24 @@ import org.python.core.PyException;
 import org.python.core.PySystemState;
 import org.python.util.PythonInterpreter;
 
+import org.apache.yetus.audience.InterfaceAudience;
+import org.apache.yetus.audience.InterfaceStability;
+
+/**
+ * Jython-based interface to releasedocmaker.
+ */
+
 public class ReleaseDocMaker {
+  /**
+   *
+   * This method calls the main() method of the shelldocs Python program.
+   *
+   * @param args argument string
+   * @throws PyException standard exception thrown for Jython
+   */
+
+  @InterfaceAudience.Public
+  @InterfaceStability.Evolving
   public static void main(final String[] args) throws PyException {
     List<String> list = new LinkedList<String>(Arrays.asList(args));
     list.add(0,"releasedocmaker");


Mime
View raw message