Class FormModelDelegate.FormChangedEvent
java.lang.Object
com.inductiveautomation.perspective.gateway.components.FormModelDelegate.FormChangedEvent
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- FormModelDelegate
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 Summary
FieldsModifier and TypeFieldDescriptionfinal Stringfinal List<UploadedFilePart>final Stringfinal String -
Constructor Summary
ConstructorsConstructorDescriptionFormChangedEvent(String componentPath, String key, String value, List<UploadedFilePart> files) -
Method Summary
-
Field Details
-
componentPath
-
key
-
value
-
files
-
-
Constructor Details
-
FormChangedEvent
public FormChangedEvent(String componentPath, String key, String value, List<UploadedFilePart> files)
-
-
Method Details
-
claimFiles
Atomically claims ownership of the file parts. The caller becomes responsible for closing them. Returnsnullif the parts have already been claimed. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-