(no commit message)
[utils] / crawler / kiss / src / org / wamblee / crawler / kiss / SystemProperties.java
index 60bafa1454b679e54db83c72327ee664b87bc8c3..20af2a93a4e628f768dc843e3d0273b612ed6aa9 100644 (file)
@@ -23,6 +23,7 @@ public final class SystemProperties {
     
     private static final String DEBUG_PROPERTY = "kiss.debug";
     private static final String NO_PROGRAM_DETAILS = "kiss.nodetails";
+    private static final String DISABLE_RECORD = "kiss.norecord"; 
     
     /**
      * Disabled constructor. 
@@ -47,4 +48,14 @@ public final class SystemProperties {
     public static boolean isNoProgramDetailsRequired() { 
         return System.getProperties().getProperty(NO_PROGRAM_DETAILS) != null; 
     }
+    
+
+    /**
+     * Determines if recording is disabled. 
+     * @return True iff no recording should be done.  
+     */
+    public static boolean isRecordDisabled() { 
+        return System.getProperties().getProperty(DISABLE_RECORD) != null; 
+    }
+    
 }