Class FileUploadModelDelegate
- java.lang.Object
-
- com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
-
- com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
-
- com.inductiveautomation.perspective.gateway.components.FileUploadModelDelegate
-
public class FileUploadModelDelegate extends ComponentModelDelegate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileUploadModelDelegate.FileUploadedToPageEvent
This is the event object for the route to post to the page's gauva event bus, to get picked up by this delegate.static class
FileUploadModelDelegate.FileUploadEvent
This is the event object that will be passed to the `onFileReceived` actions.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EVENT_NAME
static java.lang.String
ID
-
Fields inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
component, log
-
-
Constructor Summary
Constructors Constructor Description FileUploadModelDelegate(Component component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFileUploaded(FileUploadModelDelegate.FileUploadedToPageEvent event)
void
onShutdown()
void
onStartup()
-
Methods inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
fireEvent, getScriptCallableMethods, handleEvent
-
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
EVENT_NAME
public static final java.lang.String EVENT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileUploadModelDelegate
public FileUploadModelDelegate(Component component)
-
-
Method Detail
-
onFileUploaded
public void onFileUploaded(FileUploadModelDelegate.FileUploadedToPageEvent event)
-
onStartup
public void onStartup()
- Specified by:
onStartup
in classAbstractLifecycle
-
onShutdown
public void onShutdown()
- Specified by:
onShutdown
in classAbstractLifecycle
-
-