Class LogMessage
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.main.LogMessage
The LogMessage class stores the data of a log entry.
-
Constructor Summary
ConstructorDescriptionLogMessage
(String text, boolean isError) Constructs a new LogMessage object. -
Method Summary
-
Constructor Details
-
LogMessage
Constructs a new LogMessage object.- Parameters:
text
- the text of the messageisError
- true if the message describes an error, otherwise false
-
-
Method Details
-
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
-