Class FrontendMessage
java.lang.Object
com.novomind.ecom.api.iagent.frontend.operation.FrontendMessage
This class represents a message in the frontend of the novomind iAGENT app.
- Since:
- 11.9
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLevel()The level indicates the severity of the message.getText()The text of the frontend message.setLevel(FrontendMessageLevel level) Sets the severity level of the frontend message.Sets the text of the frontend message.
-
Constructor Details
-
FrontendMessage
public FrontendMessage()Constructs a newFrontendMessage.- Since:
- 11.9
-
-
Method Details
-
getText
The text of the frontend message.- Returns:
- the Text
- Since:
- 11.9
-
setText
Sets the text of the frontend message.- Parameters:
text- of the frontend message.- Returns:
- a reference to this object.
- Since:
- 11.9
-
getLevel
The level indicates the severity of the message. The default level isFrontendMessageLevel.INFO- Returns:
- the Level
- Since:
- 11.9
-
setLevel
Sets the severity level of the frontend message.- Parameters:
level- indicates the severity of the message.- Returns:
- a reference to this object.
- Since:
- 11.9
-