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>
Since:
8.5.0
  • Enum Constant Details

  • Method Details

    • values

      public static FcWithFormElementContextBpmnModeler[] 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

      public static FcWithFormElementContextBpmnModeler valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • modelNode

      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:
      modelNode in interface IWorkflowNodeBpmnModeler<FcWithFormElementContextProps>
      Parameters:
      params - The parameters for the modeler, containing the WorkflowNode to 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 the layouter() or colorizer, and also provides access to all global data such as all triggers and nodes in the workflow.