Class LogMessage
- 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 Summary
Constructors Constructor Description LogMessage(String text, boolean isError)
Constructs a new LogMessage object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText()
Gets the text of the message.boolean
isError()
Checks whether the message describes an error.
-
-
-
Constructor Detail
-
LogMessage
public LogMessage(String text, boolean isError)
Constructs a new LogMessage object.- Parameters:
text
- the text of the messageisError
- true if the message describes an error, otherwise false
-
-
Method Detail
-
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
-
-