toString
This commit is contained in:
@@ -100,7 +100,7 @@ public class ActionResultExposer implements Serializable {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return new ToStringCreator(this).append("resultExpression", resultExpression).append("expectedResultType",
|
||||
expectedResultType).toString();
|
||||
return new ToStringCreator(this).append("result", resultExpression).append("resultType", expectedResultType)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
package org.springframework.webflow.action;
|
||||
|
||||
import org.springframework.binding.expression.Expression;
|
||||
import org.springframework.core.style.ToStringCreator;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.webflow.engine.ActionExecutor;
|
||||
import org.springframework.webflow.execution.Action;
|
||||
@@ -82,4 +83,9 @@ public class EvaluateAction extends AbstractAction {
|
||||
return resultEventFactorySelector.forResult(result).createResultEvent(this, result, context);
|
||||
}
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return new ToStringCreator(this).append("expression", expression).append("resultExposer",
|
||||
evaluationResultExposer).toString();
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,7 @@ import org.springframework.beans.PropertyEditorRegistry;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.propertyeditors.PropertiesEditor;
|
||||
import org.springframework.core.style.StylerUtils;
|
||||
import org.springframework.core.style.ToStringCreator;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.ClassUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
@@ -956,4 +957,9 @@ public class FormAction extends MultiAction implements InitializingBean {
|
||||
protected boolean validationEnabled(RequestContext context) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return new ToStringCreator(this).append("formObjectName", formObjectName).append("formObjectClass",
|
||||
formObjectClass).append("formObjectScope", formObjectScope).toString();
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
package org.springframework.webflow.action;
|
||||
|
||||
import org.springframework.binding.expression.Expression;
|
||||
import org.springframework.core.style.ToStringCreator;
|
||||
import org.springframework.webflow.execution.Event;
|
||||
import org.springframework.webflow.execution.RequestContext;
|
||||
import org.springframework.webflow.execution.View;
|
||||
@@ -55,4 +56,7 @@ public class RenderAction extends AbstractAction {
|
||||
return success();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return new ToStringCreator(this).append("fragments", fragmentExpressions).toString();
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,7 @@ package org.springframework.webflow.action;
|
||||
|
||||
import org.springframework.binding.convert.ConversionService;
|
||||
import org.springframework.binding.expression.Expression;
|
||||
import org.springframework.core.style.ToStringCreator;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.webflow.execution.Event;
|
||||
import org.springframework.webflow.execution.RequestContext;
|
||||
@@ -88,4 +89,9 @@ public class SetAction extends AbstractAction {
|
||||
}
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return new ToStringCreator(this).append("name", nameExpression).append("value", valueExpression).append("type",
|
||||
expectedType).toString();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user