Package com.avoka.tm.func
Class FormFuncResult
- java.lang.Object
-
- com.avoka.tm.func.FuncResult
-
- com.avoka.tm.func.FormFuncResult
-
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.List<ValidationError>
errors
Specify validation errors to be returned to the form.boolean
includeFormData
Include XML formData in response.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()
-
-
-
Field Detail
-
EMPTY_RESULT
public static final FormFuncResult EMPTY_RESULT
Provides an empty form function result.
-
errors
public final List<ValidationError> errors
Specify validation errors to be returned to the form.
-
includeFormData
public boolean includeFormData
Include XML formData in response.
-
redirectUrl
public String redirectUrl
Redirect the end user to another location (optional).
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Returns:
- true if an empty function result containing no state.
-
toString
public String toString()
- Overrides:
toString
in classFuncResult
- Returns:
- a string representation of the object.
-
-