geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r658754 - /geronimo/gshell/trunk/gshell-support/gshell-io/src/main/java/org/apache/geronimo/gshell/io/IO.java
Date Wed, 21 May 2008 16:46:06 GMT
Author: jdillon
Date: Wed May 21 09:46:06 2008
New Revision: 658754

URL: http://svn.apache.org/viewvc?rev=658754&view=rev
Log:
Add silent mode

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-io/src/main/java/org/apache/geronimo/gshell/io/IO.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-io/src/main/java/org/apache/geronimo/gshell/io/IO.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-io/src/main/java/org/apache/geronimo/gshell/io/IO.java?rev=658754&r1=658753&r2=658754&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-io/src/main/java/org/apache/geronimo/gshell/io/IO.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-io/src/main/java/org/apache/geronimo/gshell/io/IO.java
Wed May 21 09:46:06 2008
@@ -188,7 +188,14 @@
     public Verbosity getVerbosity() {
         return verbosity;
     }
-
+    
+    /**
+     * Check if the verbosity level is set to {@link Verbosity#SILENT}.
+     */
+    public boolean isSilent() {
+        return verbosity == Verbosity.SILENT;
+    }
+    
     /**
      * Check if the verbosity level is set to {@link Verbosity#QUIET}.
      */
@@ -254,6 +261,7 @@
      */
     public static enum Verbosity
     {
+        SILENT,
         QUIET,
         INFO,
         VERBOSE,



Mime
View raw message