Class InsertNodeData

  • All Implemented Interfaces:
    Serializable

    public final class InsertNodeData
    extends Object
    implements Serializable
    POJO model for inserting a node into the flowchart from external Java code. The node is inserted at a suitable location.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • InsertNodeData

        public InsertNodeData()
    • Method Detail

      • getIndex

        @Nullable
        public Long getIndex()
        Returns:
        Index of the child in children array of the parent node at which to insert the node.
      • getNode

        @Nullable
        public NodeModel getNode()
        Returns:
        Node to insert.
      • getNodeUuid

        @Nullable
        public String getNodeUuid()
        Returns:
        Parent node that should contain the inserted node.
      • getParams

        @Nullable
        public Map<String,​com.alibaba.fastjson.JSONObject> getParams()
        Returns:
        Params of the node and its children.
      • getTaskUuid

        @Nullable
        public String getTaskUuid()
        Returns:
        UUID of the task where to insert the node.
      • setIndex

        public void setIndex​(Long index)
      • setNode

        public void setNode​(NodeModel node)
        Parameters:
        node - Node to insert.
      • setNodeUuid

        public void setNodeUuid​(String nodeUuid)
        Parameters:
        nodeUuid - Parent node that should contain the inserted node.
      • setParams

        public void setParams​(Map<String,​com.alibaba.fastjson.JSONObject> params)
      • setTaskUuid

        public void setTaskUuid​(String taskUuid)