Package org.beangle.ems.rule.model
Class SimpleContext
- java.lang.Object
-
- org.beangle.ems.rule.model.SimpleContext
-
-
Constructor Summary
Constructors Constructor Description SimpleContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddError(org.beangle.commons.text.i18n.Message message)voidaddMessage(org.beangle.commons.text.i18n.Message message)List<org.beangle.commons.text.i18n.Message>getErrors()List<org.beangle.commons.text.i18n.Message>getMessages()<T> TgetParam(String paramName, Class<T> clazz)Map<String,Object>getParams()
-
-
-
Method Detail
-
addError
public void addError(org.beangle.commons.text.i18n.Message message)
-
addMessage
public void addMessage(org.beangle.commons.text.i18n.Message message)
- Specified by:
addMessagein interfaceContext
-
getErrors
public List<org.beangle.commons.text.i18n.Message> getErrors()
-
getMessages
public List<org.beangle.commons.text.i18n.Message> getMessages()
- Specified by:
getMessagesin interfaceContext
-
-