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 Details

    • 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).
    • commitOnErrors

      public boolean commitOnErrors
      Commit on errors
      Since:
      19.11.0
  • Constructor Details

    • FormFuncResult

      public FormFuncResult()
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Returns:
      true if an empty function result containing no state.
    • toString

      public String toString()
      Overrides:
      toString in class FuncResult
      Returns:
      a string representation of the object.