Class ExtensionFunctionDescriptor
java.lang.Object
com.inductiveautomation.vision.api.designer.beans.ExtensionFunctionDescriptor
Describes an extension function that a component may call during it's lifecycle. To add support for extension
 functions on your component, do the following:
 
- Have your component implement the ExtensibleComponentinterface.
- Add a List of these descriptors to your bean descriptor. In your bean info's initDesc() method, add a list of
 these descriptors as an additional value under the key EXTENSION_FUNCTIONS
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classAn argument for an extension function.static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe key for a bean descriptor property that defines a component's list of extension functions that may be implemented.
- 
Method SummaryModifier and TypeMethodDescriptiongetArgs()Class<?>newFunction(String methodName) com.inductiveautomation.ignition.common.script.typing.ExtensionFunctionDescriptor
- 
Field Details- 
EXTENSION_FUNCTIONSThe key for a bean descriptor property that defines a component's list of extension functions that may be implemented.- See Also:
 
 
- 
- 
Method Details- 
newFunction
- 
getMethodName
- 
getReturnType
- 
getDescription
- 
getImplementation
- 
getArgs
- 
toModernDescriptorpublic com.inductiveautomation.ignition.common.script.typing.ExtensionFunctionDescriptor toModernDescriptor()
 
-