Class ExtensibleFunction

    • Method Detail

      • execute

        public void execute​(Map transientVars,
                            Map args,
                            com.opensymphony.module.propertyset.PropertySet ps)
                     throws com.opensymphony.workflow.WorkflowException
        Specified by:
        execute in interface com.opensymphony.workflow.FunctionProvider
        Throws:
        com.opensymphony.workflow.WorkflowException
      • _getFunctionProvider

        protected com.opensymphony.workflow.FunctionProvider _getFunctionProvider​(String functionId,
                                                                                  String functionProviderRole)
                                                                           throws com.opensymphony.workflow.WorkflowException
        Get the function provider denoted
        Parameters:
        functionId - The id of the extension that gave the role
        functionProviderRole - The role of the component to find
        Returns:
        The workflow function
        Throws:
        com.opensymphony.workflow.WorkflowException - If the role cannot be found
      • _getFunctionsExtensionPoint

        protected ExtensionPoint<String_getFunctionsExtensionPoint​(Map args)
                                                              throws com.opensymphony.workflow.WorkflowException
        Get the function extension point given in args
        Parameters:
        args - The workflow arguments
        Returns:
        The extension point
        Throws:
        com.opensymphony.workflow.WorkflowException - If the extension point is not configured or does not exist