public class FormFuncResult
extends FuncResult
Provides a Fluent form function result class.
- Since:
- 17.10.0
Field Summary
Fields
Modifier and Type |
Field |
Description |
static FormFuncResult |
EMPTY_RESULT |
Provides an empty form function result.
|
java.util.List<ValidationError> |
errors |
Specify validation errors to be returned to the form.
|
boolean |
includeFormData |
Include XML formData in response.
|
java.lang.String |
redirectUrl |
Redirect the end user to another location (optional).
|
Fields inherited from class com.avoka.tm.func.FuncResult
continueProcessing, data
Constructor Summary
Constructors
Constructor |
Description |
FormFuncResult() |
|
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
boolean |
isEmpty() |
|
java.lang.String |
toString() |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait
Field Detail
EMPTY_RESULT
public static final FormFuncResult EMPTY_RESULT
Provides an empty form function result.
errors
public final java.util.List<ValidationError> errors
Specify validation errors to be returned to the form.
includeFormData
public boolean includeFormData
Include XML formData in response.
redirectUrl
public java.lang.String redirectUrl
Redirect the end user to another location (optional).
Constructor Detail
FormFuncResult
public FormFuncResult()
Method Detail
isEmpty
public boolean isEmpty()
- Returns:
- true if an empty function result containing no state.
toString
public java.lang.String toString()
- Overrides:
toString
in class FuncResult
- Returns:
- a string representation of the object.