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 classFileUploadModelDelegate.FileUploadedToPageEventThis is the event object for the route to post to the page's gauva event bus, to get picked up by this delegate.static classFileUploadModelDelegate.FileUploadEventThis is the event object that will be passed to the `onFileReceived` actions.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_NAMEstatic java.lang.StringID-
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 voidonFileUploaded(FileUploadModelDelegate.FileUploadedToPageEvent event)voidonShutdown()voidonStartup()-
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:
onStartupin classAbstractLifecycle
-
onShutdown
public void onShutdown()
- Specified by:
onShutdownin classAbstractLifecycle
-
-