34 |
|
* |
35 |
|
* @param level the level of the alert |
36 |
|
*/ |
37 |
< |
public Alert(int level, String thresholdValue, String value, String attributeName) { |
37 |
> |
public Alert(int level, String source, String thresholdValue, String value, String attributeName) { |
38 |
|
_level = level; |
39 |
+ |
_source = source; |
40 |
|
_thresholdValue = thresholdValue; |
41 |
|
_value = value; |
42 |
|
_attributeName = attributeName; |
71 |
|
return _level; |
72 |
|
} |
73 |
|
|
74 |
+ |
public String getSource() { |
75 |
+ |
return _source; |
76 |
+ |
} |
77 |
+ |
|
78 |
|
public String getValue() { |
79 |
|
return _value; |
80 |
|
} |
105 |
|
*/ |
106 |
|
private int _level; |
107 |
|
|
108 |
+ |
private String _source; |
109 |
|
private String _value; |
110 |
|
private String _thresholdValue; |
111 |
|
private String _attributeName; |