use of com.evolveum.midpoint.notifications.impl.events.BaseEventImpl in project midpoint by Evolveum.
the class NotificationExpressionHelper method getDefaultVariables.
public VariablesMap getDefaultVariables(Event event, OperationResult result) {
VariablesMap variables = new VariablesMap();
((BaseEventImpl) event).createVariablesMap(variables, result);
variables.put(ExpressionConstants.VAR_TEXT_FORMATTER, textFormatter, TextFormatter.class);
variables.put(ExpressionConstants.VAR_NOTIFICATION_FUNCTIONS, notificationFunctions, NotificationFunctions.class);
PrismObject<SystemConfigurationType> systemConfiguration = getSystemConfiguration(result);
variables.put(ExpressionConstants.VAR_CONFIGURATION, systemConfiguration, systemConfiguration.getDefinition());
return variables;
}
Aggregations