|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jasmine.rules.logs.util.AlarmLog
public class AlarmLog
This class provides a POJO to handle JASMINe alarms.
| Constructor Summary | |
|---|---|
AlarmLog(int id,
Date date,
String level,
String message)
Creates an alarm with the specified values. |
|
| Method Summary | |
|---|---|
Date |
getDate()
Returns the alarm date. |
int |
getId()
Returns the alarm id. |
String |
getLevel()
Returns the alarm level. |
String |
getMessage()
Returns the alarm message. |
void |
setDate(Date date)
Defines the alarm date. |
void |
setId(int id)
Defines the alarm id. |
void |
setLevel(String level)
Defines the alarm level. |
void |
setMessage(String message)
Defines the alarm message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlarmLog(int id,
Date date,
String level,
String message)
id - the alarm id.date - the alarm date.level - the alarm level.message - the alarm message.| Method Detail |
|---|
public int getId()
public void setId(int id)
id - the id to set.public Date getDate()
public void setDate(Date date)
date - the date to setpublic String getLevel()
public void setLevel(String level)
level - the level to setpublic String getMessage()
public void setMessage(String message)
message - the message to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||