public class ExtensionFunctionDescriptor
extends java.lang.Object
ExtensibleComponent
interface.EXTENSION_FUNCTIONS
Modifier and Type | Class and Description |
---|---|
static class |
ExtensionFunctionDescriptor.Argument
An argument for an extension function.
|
static class |
ExtensionFunctionDescriptor.Builder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTENSION_FUNCTIONS
The key for a bean descriptor property that defines a component's list of extension functions that may be
implemented.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ExtensionFunctionDescriptor.Argument> |
getArgs() |
java.lang.String |
getDefaultScript()
Generates the default script for this extension function, including a python style docstring
|
java.lang.String |
getDescription() |
java.lang.String |
getImplementation() |
java.lang.String |
getMethodName() |
java.lang.Class<?> |
getReturnType() |
static ExtensionFunctionDescriptor.Builder |
newFunction(java.lang.String methodName) |
public static final java.lang.String EXTENSION_FUNCTIONS
public static ExtensionFunctionDescriptor.Builder newFunction(java.lang.String methodName)
public java.lang.String getMethodName()
public java.lang.Class<?> getReturnType()
public java.lang.String getDescription()
public java.lang.String getImplementation()
public java.util.List<ExtensionFunctionDescriptor.Argument> getArgs()
public java.lang.String getDefaultScript()