Class FrontendMessage
- java.lang.Object
-
- com.novomind.ecom.api.iagent.frontend.operation.FrontendMessage
-
public final class FrontendMessage extends java.lang.Object
This class represents a message in the frontend of the novomind iAGENT app.- Since:
- 11.9
-
-
Constructor Summary
Constructors Constructor Description FrontendMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrontendMessageLevel
getLevel()
The level indicates the severity of the message.java.lang.String
getText()
The text of the frontend message.FrontendMessage
setLevel(FrontendMessageLevel level)
FrontendMessage
setText(java.lang.String text)
-
-
-
Method Detail
-
getText
public java.lang.String getText()
The text of the frontend message.- Returns:
- the Text
- Since:
- 11.9
-
setText
public FrontendMessage setText(java.lang.String text)
- Parameters:
text
- of the frontend message.- Returns:
- a reference to this object.
- Since:
- 11.9
-
getLevel
public FrontendMessageLevel getLevel()
The level indicates the severity of the message. The default level isFrontendMessageLevel.INFO
- Returns:
- the Level
- Since:
- 11.9
-
setLevel
public FrontendMessage setLevel(FrontendMessageLevel level)
- Parameters:
level
- indicates the severity of the message.- Returns:
- a reference to this object.
- Since:
- 11.9
-
-