public class SetAction extends AbstractAction
scope
when executed. Always returns the "success" event.Constructor and Description |
---|
SetAction(Expression nameExpression,
Expression valueExpression,
Class expectedType,
ConversionService conversionService)
Creates a new set attribute action.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
afterPropertiesSet, execute, getEventFactorySupport
public SetAction(Expression nameExpression, Expression valueExpression, Class expectedType, ConversionService conversionService)
nameExpression
- the name of the property to set (required)valueExpression
- the expression to obtain the new property value (required)expectedType
- the expected value typeconversionService
- the service to perform the type conversion if the actual value type does not match the
expected