[seam-commits] Seam SVN: r13183 - modules/international/trunk/api/src/main/java/org/jboss/seam/international/status.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Jun 16 12:45:56 EDT 2010
Author: lincolnthree
Date: 2010-06-16 12:45:55 -0400 (Wed, 16 Jun 2010)
New Revision: 13183
Modified:
modules/international/trunk/api/src/main/java/org/jboss/seam/international/status/Messages.java
Log:
Update messages API to include isEmpty()
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-16 16:39:15 UTC (rev 13182)
+++ modules/international/trunk/api/src/main/java/org/jboss/seam/international/status/Messages.java 2010-06-16 16:45:55 UTC (rev 13183)
@@ -50,6 +50,12 @@
public void clear();
/**
+ * Return true if there are no pending {@link Message} or
+ * {@link MessageBuilder} objects in the queue.
+ */
+ public boolean isEmpty();
+
+ /**
* Retrieve all pending {@link Messages} in their final state - as they will
* be displayed to the user. Calling this method will call
* {@link MessageBuilder#build()} on any queued {@link MessageBuilder}
More information about the seam-commits
mailing list