Enum FcWithFormElementContextBpmnModeler
java.lang.Object
java.lang.Enum<FcWithFormElementContextBpmnModeler>
de.xima.fc.workflow.designer.bpmn.node.flow_control.FcWithFormElementContextBpmnModeler
- All Implemented Interfaces:
IWorkflowNodeBpmnModeler<FcWithFormElementContextProps>, Serializable, Comparable<FcWithFormElementContextBpmnModeler>
public enum FcWithFormElementContextBpmnModeler
extends Enum<FcWithFormElementContextBpmnModeler>
implements IWorkflowNodeBpmnModeler<FcWithFormElementContextProps>
BPMN modeler for nodes of type with form element context.- Since:
- 8.5.0
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidmodelNode(IModelWorkflowNodeParams<FcWithFormElementContextProps> params, IWorkflowBpmnModelContext context) Models the given with form element context action as a BPMN part.Returns the enum constant of this type with the specified name.static FcWithFormElementContextBpmnModeler[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The immutable singleton instance of this modeler.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
modelNode
public void modelNode(IModelWorkflowNodeParams<FcWithFormElementContextProps> params, IWorkflowBpmnModelContext context) Models the given with form element context action as a BPMN part. For now, this just delegates to the child part, but in the future, we could e.g. wrap the child part in e.g. a BPMN subprocess and add some visual indication that this node sets a form element context.- Specified by:
modelNodein interfaceIWorkflowNodeBpmnModeler<FcWithFormElementContextProps>- Parameters:
params- The parameters for the modeler, containing theWorkflowNodeto model and its deserialized custom properties model, as well as the part builder to fill with data.context- The context for creating the BPMN diagram, its lifecycle starts when the conversion (of the workflow to a BPMN diagram) starts and ends when the conversion ends. The context lets you access various helper methods such as thelayouter()orcolorizer, and also provides access to all global data such as alltriggersandnodesin the workflow.
-