ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java (file contents):
Revision 1.8 by ajm, Sun Mar 4 02:41:16 2001 UTC vs.
Revision 1.9 by ajm, Mon Mar 5 12:45:51 2001 UTC

# Line 42 | Line 42 | public class Alert {
42       *
43       * @param level the level of the alert
44       */
45 <    public Alert(int alertLevel, int thresholdLevel, String source, String thresholdValue, String value, String attributeName, String timeTillNextAlert) {
45 >    public Alert(int alertLevel, int lastAlert, int thresholdLevel, String source, String thresholdValue, String value, String attributeName, String timeTillNextAlert) {
46          _alertLevel = alertLevel;
47 +        _lastAlert = lastAlert;
48          _thresholdLevel = thresholdLevel;
49          _source = source;
50          _thresholdValue = thresholdValue;
# Line 81 | Line 82 | public class Alert {
82          return _alertLevel;
83      }
84      
85 +    public int getLastLevel() {
86 +        return _lastAlert;
87 +    }
88 +    
89      public int getThreshold() {
90          return _thresholdLevel;
91      }
# Line 122 | Line 127 | public class Alert {
127       * The alert level of this packet
128       */
129      private int _alertLevel;
130 +    
131 +    private int _lastAlert;
132      
133      private int _thresholdLevel;
134      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines