/** * Process {@link ValidationWorkflowAware} interface */ private String processValidationWorkflowAware(final Object action, final String currentResultName) { String resultName = currentResultName; if (action instanceof ValidationWorkflowAware) { resultName = ((ValidationWorkflowAware) action).getInputResultName(); if (LOG.isDebugEnabled()) { LOG.debug("Changing result name from [#0] to [#1] because of processing [#2] interface applied to [#3]", currentResultName, resultName, ValidationWorkflowAware.class.getSimpleName(), action); } } return resultName; }