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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface IErrorMessages
      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 interface IErrorMessages
      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 interface IErrorMessages
      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 interface IErrorMessages
      Parameters:
      date - of the messages