Class APluginDoUntilLoopNodeHandler<TData extends BaseDoUntilLoopProps, TState extends IWorkflowLoopDataProviding>
java.lang.Object
de.xima.fc.workflow.mixin.APluginDoUntilLoopNodeHandler<TData,TState>
- Type Parameters:
TData- Type of the node's properties model, seeIPluginDoUntilLoopNodeHandler.TState- Type of the custom state used during the execution of the loop. If you do not require any state, simply set this type parameter toObject.
- All Implemented Interfaces:
INameProviding, ITransferable, INamedUiElement, IResourceBundleLocator, IWorkflowNodeFlowAnalyzer<TData>, IElementHandler<TData, WorkflowNode>, IExecutionResultDescriptor, IRefinedExecutionResultDescriptor<TData>, ICustomParametersUpdateable, IWorkflowElementTypeProviding, IBeanValidatingElement<TData, WorkflowNode>, IBeanValidatingNode<TData>, IExecutingLikePostTestLoopNode<TData>, IHierarchyValidatingNode<TData>, ISingleElementPrototype<TData, WorkflowNode>, ISingleNodePrototype<TData>, INodeHandler<TData>, IWorkflowNodeTypeProviding, IPluginGenericCustomGUI<IPluginWorkflowNodeBean>, IFCPlugin, IPluginWorkflowNode, IBaseDoUntilLoopClientHandlerNode<TData>, IPluginDoUntilLoopNodeHandler<TData,TState>, ISingleBaseDoUntilLoopNodePrototype<TData>, Serializable
public abstract class APluginDoUntilLoopNodeHandler<TData extends BaseDoUntilLoopProps, TState extends IWorkflowLoopDataProviding>
extends Object
implements IPluginDoUntilLoopNodeHandler<TData,TState>
Abstract base class meant for
IPluginWorkflowNode plugins that only wish to provide a do-until loop with a
custom test.
Eliminates the last bits of boilerplate code remaining in IPluginDoUntilLoopNodeHandler . When you do not
need a different super class, you may use this. Otherwise, just implement the mixin
IPluginDoUntilLoopNodeHandler and add a getter for
IPluginDoUntilLoopNodeHandler.getPluginInitializeData(). See IPluginWhileLoopNodeHandler for further
details.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from interface IElementHandler
CURRENT_HANDLER_VERSIONFields inherited from interface IFCPlugin
CONFIG_FILENAMEFields inherited from interface INamedUiElement
ATTR_DISPLAY_NAMEFields inherited from interface INameProviding
ATTR_NAME, COL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(IPluginInitializeData initializeData) Callback method that is invoked when this plugin is initialized.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IBaseDoUntilLoopClientHandlerNode
getCascadingStyleSheet, getDoUntilLoopOptions, getJavaScript, isAlwaysCompletesAbruptlyMethods inherited from interface IBeanValidatingElement
getValidationGroupsMethods inherited from interface IBeanValidatingNode
validateLocalMethods inherited from interface ICustomParametersUpdateable
updateCustomParamsMethods inherited from interface IElementHandler
extractSearchTerms, getCascadingStyleSheet, getDisplayLabel, getElementSummaryModel, getElementSummaryXhtml, getFastJsonConverter, getFilterCriteriaForEntities, getFilterCriteriaForObjects, getHelpPageLocation, getJavaScript, isAvailable, isHasUserVisibleName, readEntityReferences, readObjectReferences, readPlaceholders, validateGlobal, writeEntityReferences, writeObjectReferences, writePlaceholdersMethods inherited from interface IExecutingLikePostTestLoopNode
createFlowGraphMethods inherited from interface IExecutionResultDescriptor
getAttachmentValueDescriptor, getCurrentAttachmentValueDescriptor, getCurrentFileValueDescriptor, getErrorValueDescriptors, getFileValueDescriptor, getSoftErrorValueDescriptorsMethods inherited from interface IFCPlugin
getDescription, initPlugin, install, shutdown, shutdown, uninstall, validateConfigurationDataMethods inherited from interface IHierarchyValidatingNode
isValidChildCount, isValidChildType, isValidParentTypeMethods inherited from interface INodeHandler
getLocalizedTypeName, getRelatedNodeTypes, isCreateProtocolEntryAfterExecution, isReplacePlaceholderBeforeExecutionMethods inherited from interface IPluginDoUntilLoopNodeHandler
addCurrentValueDescriptorEntries, addSuccessValueDescriptorEntries, beginRepetition, endRepetition, evaluateDoUntilLoopTest, execute, extractDescription, extractName, finishLoop, getAlwaysValueDescriptor, getBpmnModeler, getCurrentValueDescriptor, getDataModelClass, getDescription, getDisplayName, getErrorValueDescriptor, getI18nKeyActionLabel, getI18nKeyActionSearchText, getI18nKeyActionSubLabel, getI18nKeyActionTitle, getI18nKeyDescription, getI18nKeyDisplayName, getLoopBodyChildIndex, getMainCategory, getMainPluginBeanClass, getName, getNodeHandler, getPropertiesBeanClass, getPropertiesViewXhtml, getPropertiesViewXhtmlName, getPropertiesViewXhtmlPath, getPropertyNameCurrentIndex, getPropertyNameIterationCount, getPrototypeElement, getPrototypeIcon, getPrototypeLabel, getPrototypeSearchText, getPrototypeSubLabel, getPrototypeTitle, getResourceBundle, getResourceBundlePath, getSoftErrorValueDescriptor, getSubCategory, getSuccessValueDescriptor, getSupportedControlTransferTypes, getType, getUnmanagedBeans, getVersion, isCreateProtocolEntryAfterExecution, startLoopMethods inherited from interface IPluginWorkflowNode
getXhtmlViewMethods inherited from interface IRefinedExecutionResultDescriptor
getAlwaysValueDescriptor, getAlwaysValueDescriptor, getAttachmentValueDescriptor, getAttachmentValueDescriptor, getCurrentAttachmentValueDescriptor, getCurrentAttachmentValueDescriptor, getCurrentFileValueDescriptor, getCurrentFileValueDescriptor, getCurrentValueDescriptor, getCurrentValueDescriptor, getErrorValueDescriptor, getErrorValueDescriptors, getFileValueDescriptor, getFileValueDescriptor, getSoftErrorValueDescriptor, getSoftErrorValueDescriptors, getSuccessValueDescriptor, getSuccessValueDescriptorMethods inherited from interface ISingleBaseDoUntilLoopNodePrototype
getPrototypeModelDataMethods inherited from interface ISingleElementPrototype
getPrototypeSortKey, getPrototypeTagsMethods inherited from interface ISingleNodePrototype
getNodePrototypes, getPrototypeElementChildren
-
Constructor Details
-
APluginDoUntilLoopNodeHandler
public APluginDoUntilLoopNodeHandler()
-
-
Method Details
-
initialize
Description copied from interface:IFCPluginCallback method that is invoked when this plugin is initialized.- Specified by:
initializein interfaceIFCPlugin- Parameters:
initializeData-IPluginInitializeData- Throws:
FCPluginException- May be thrown when an error occurred during the initialization process. When an error is thrown, this plugin will be deactivated and not put into service.
-
getPluginInitializeData
- Specified by:
getPluginInitializeDatain interfaceIPluginDoUntilLoopNodeHandler<TData extends BaseDoUntilLoopProps, TState extends IWorkflowLoopDataProviding>- Returns:
- The
IPluginInitializeData, as they were passed toIFCPlugin.initialize(IPluginInitializeData). Implementation should usually just store the data in aprivate volatilefield and return it in this method.
-