[seam-commits] Seam SVN: r12919 - modules/international/trunk/api/src/main/java/org/jboss/seam/international/status.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Jun 1 13:09:57 EDT 2010


Author: lincolnthree
Date: 2010-06-01 13:09:56 -0400 (Tue, 01 Jun 2010)
New Revision: 12919

Modified:
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/status/Messages.java
Log:
A few more comments on the Messages API

Modified: modules/international/trunk/api/src/main/java/org/jboss/seam/international/status/Messages.java
===================================================================
--- modules/international/trunk/api/src/main/java/org/jboss/seam/international/status/Messages.java	2010-06-01 17:04:05 UTC (rev 12918)
+++ modules/international/trunk/api/src/main/java/org/jboss/seam/international/status/Messages.java	2010-06-01 17:09:56 UTC (rev 12919)
@@ -125,41 +125,74 @@
    /*
     * Bundle Factory Methods
     */
+
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage info(final BundleKey message)
    {
       return enqueueBuilder(factory.info(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage info(final BundleKey message, final Object... params)
    {
       return enqueueBuilder(factory.info(message, params));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage warn(final BundleKey message)
    {
       return enqueueBuilder(factory.warn(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage warn(final BundleKey message, final Object... params)
    {
       return enqueueBuilder(factory.warn(message, params));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage error(final BundleKey message)
    {
       return enqueueBuilder(factory.error(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage error(final BundleKey message, final Object... params)
    {
       return enqueueBuilder(factory.error(message, params));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage fatal(final BundleKey message)
    {
       return enqueueBuilder(factory.fatal(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public BundleTemplateMessage fatal(final BundleKey message, final Object... params)
    {
       return enqueueBuilder(factory.fatal(message, params));
@@ -168,41 +201,74 @@
    /*
     * Template Factory Methods
     */
+
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage info(final String message)
    {
       return enqueueBuilder(factory.info(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage info(final String message, final Object... params)
    {
       return enqueueBuilder(factory.info(message, params));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage warn(final String message)
    {
       return enqueueBuilder(factory.warn(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage warn(final String message, final Object... params)
    {
       return enqueueBuilder(factory.warn(message, params));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage error(final String message)
    {
       return enqueueBuilder(factory.error(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage error(final String message, final Object... params)
    {
       return enqueueBuilder(factory.error(message, params));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage fatal(final String message)
    {
       return enqueueBuilder(factory.fatal(message));
    }
 
+   /**
+    * Create a {@link MessageBuilder} with the specified {@link Level}, add it
+    * to the internal queue, and return it.
+    */
    public TemplateMessage fatal(final String message, final Object... params)
    {
       return enqueueBuilder(factory.fatal(message, params));



More information about the seam-commits mailing list