Interface IPluginWorkflowElementPrototypes

    • Method Detail

      • getNodePrototypes

        Iterable<? extends INodePrototypeDescriptor<?>> getNodePrototypes​(IGetNodePrototypesParams params)
        Returns a list of all node prototypes to be made available in the workflow designer. Each prototype appears in the drawer panel of the workflow designer. The user can move a node prototype via drag & drop into the design area in the center to add the node to the current flowchart.
        Parameters:
        params - Parameters for this method, such as the current locale for localizing the display name of the prototypes.
        Returns:
        A list of all available prototypes. null is treated as an empty list.
        Throws:
        RuntimeException - This method should normally not throw an exception. A runtime exception may be thrown when the node prototypes cannot be created for an unknown reason. When an exception is thrown, no node prototypes are made available for this handler.
      • getTriggerPrototypes

        Iterable<? extends ITriggerPrototypeDescriptor<?>> getTriggerPrototypes​(IGetTriggerPrototypesParams params)
        Returns a list of all trigger prototypes to be made available in the workflow designer. Each prototype appears in the drawer panel of the workflow designer. The user can move a trigger prototype via drag & drop into the design area in the center to add the trigger to the current flowchart.
        Parameters:
        params - Parameters for this method, such as the current locale for localizing the display name of the prototypes.
        Returns:
        A list of all available prototypes. null is treated as an empty list.
        Throws:
        RuntimeException - This method should normally not throw an exception. A runtime exception may be thrown when the node prototypes cannot be created for an unknown reason. When an exception is thrown, no node prototypes are made available for this handler.