Class StatusMessage
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.StatusMessage
-
public class StatusMessage extends Object
- Author:
- seboo
-
-
Constructor Summary
Constructors Constructor Description StatusMessage(String _strType, String _strStatus, String _strReason, String _strMessage)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasJson()returns the property values of the statusMessage as a list of StringStringgetReason()get reasonStringgetStatus()get statusStringgetStrMessage()get messageStringgetType()get typevoidsetReason(String _strReason)set reasonvoidsetStatus(String _strStatus)set statusvoidsetStrMessage(String _strMessage)set messagevoidsetType(String _strType)set type
-
-
-
Method Detail
-
getType
public String getType()
get type- Returns:
- the type
-
setType
public void setType(String _strType)
set type- Parameters:
_strType-
-
getStatus
public String getStatus()
get status- Returns:
- the status
-
setStatus
public void setStatus(String _strStatus)
set status- Parameters:
_strStatus-
-
getReason
public String getReason()
get reason- Returns:
- the reason
-
setReason
public void setReason(String _strReason)
set reason- Parameters:
_strReason-
-
getStrMessage
public String getStrMessage()
get message- Returns:
- the message
-
setStrMessage
public void setStrMessage(String _strMessage)
set message- Parameters:
_strMessage-
-
asJson
public String asJson()
returns the property values of the statusMessage as a list of String- Returns:
- the list of attributes values as string list
-
-