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
ExtensibleComponent
interface. - 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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An argument for an extension function.static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The key for a bean descriptor property that defines a component's list of extension functions that may be implemented. -
Method Summary
Modifier and TypeMethodDescriptiongetArgs()
Class<?>
newFunction
(String methodName) com.inductiveautomation.ignition.common.script.typing.ExtensionFunctionDescriptor
-
Field Details
-
EXTENSION_FUNCTIONS
The 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
-
toModernDescriptor
public com.inductiveautomation.ignition.common.script.typing.ExtensionFunctionDescriptor toModernDescriptor()
-