Class Alarms
java.lang.Object
kieker.analysis.architecture.adaptation.data.Alarms
- All Implemented Interfaces:
IErrorMessages
public class Alarms extends java.lang.Object implements IErrorMessages
Collection of alarms.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description Alarms()
Create an alarm result. -
Method Summary
Modifier and Type Method Description void
addMessage(java.lang.String message)
Adds one message to the list.java.util.Date
getDate()
Get date of error messages.java.util.List<java.lang.String>
getMessages()
Returns the list of saved messages.void
setDate(java.util.Date date)
Set date of error messages.void
setMessages(java.util.List<java.lang.String> messages)
-
Constructor Details
-
Alarms
public Alarms()Create an alarm result.
-
-
Method Details
-
getMessages
public final java.util.List<java.lang.String> getMessages()Description copied from interface:IErrorMessages
Returns the list of saved messages.- Specified by:
getMessages
in interfaceIErrorMessages
- Returns:
- the contained (error) messages.
-
setMessages
public void setMessages(java.util.List<java.lang.String> messages) -
addMessage
public void addMessage(java.lang.String message)Description copied from interface:IErrorMessages
Adds one message to the list.- Specified by:
addMessage
in interfaceIErrorMessages
- Parameters:
message
- the new message in the list.
-
getDate
public java.util.Date getDate()Description copied from interface:IErrorMessages
Get date of error messages.- Specified by:
getDate
in interfaceIErrorMessages
- Returns:
- date of the messages
-
setDate
public void setDate(java.util.Date date)Description copied from interface:IErrorMessages
Set date of error messages.- Specified by:
setDate
in interfaceIErrorMessages
- Parameters:
date
- of the messages
-