java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.main.LogMessage

public class LogMessage extends Object
The LogMessage class stores the data of a log entry.
  • Constructor Details

    • LogMessage

      public LogMessage(String text, boolean isError)
      Constructs a new LogMessage object.
      Parameters:
      text - the text of the message
      isError - true if the message describes an error, otherwise false
  • Method Details

    • getText

      public String getText()
      Gets the text of the message.
      Returns:
      the text of the message
    • isError

      public boolean isError()
      Checks whether the message describes an error.
      Returns:
      true if the message describes an error, otherwise false