Class FormModelDelegate.FormSubmittedEvent

java.lang.Object
com.inductiveautomation.perspective.gateway.components.FormModelDelegate.FormSubmittedEvent
All Implemented Interfaces:
AutoCloseable
Enclosing class:
FormModelDelegate

public static class FormModelDelegate.FormSubmittedEvent extends Object implements AutoCloseable
This is the event object for the route to post to the page's gauva event bus, to get picked up by this delegate. Implements AutoCloseable so that any unclaimed file parts are released after dispatch.
  • Field Details

  • Constructor Details

  • Method Details

    • claimFiles

      public List<UploadedFilePart> claimFiles()
      Atomically claims ownership of the file parts. The caller becomes responsible for closing them. Returns null if the parts have already been claimed.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable