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.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()
-
-
-
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).
-
-
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 classFuncResult
- Returns:
- a string representation of the object.
-
-