Package de.xima.fc.gui.model.workflow
Class InsertOrUpdateNodeData
- java.lang.Object
-
- de.xima.fc.gui.model.workflow.InsertOrUpdateNodeData
-
- All Implemented Interfaces:
Serializable
public final class InsertOrUpdateNodeData 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 Summary
Constructors Constructor Description InsertOrUpdateNodeData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeModelgetNode()com.alibaba.fastjson.JSONObjectgetParams()StringgetTargetName()UUIDgetTaskUuid()booleanisOverrideExistingAction()voidsetNode(NodeModel node)voidsetOverrideExistingAction(boolean overrideExistingAction)voidsetParams(com.alibaba.fastjson.JSONObject params)voidsetTargetName(String targetName)voidsetTaskUuid(UUID taskUuid)
-
-
-
Method Detail
-
getNode
public NodeModel getNode()
- Returns:
- Node to insert.
-
getParams
public com.alibaba.fastjson.JSONObject getParams()
- Returns:
- Params of the node.
-
getTargetName
public String getTargetName()
- Returns:
- When
isOverrideExistingAction(), the name of the node to override.
-
getTaskUuid
public UUID getTaskUuid()
- Returns:
- UUID of the task where to insert the node.
-
isOverrideExistingAction
public boolean isOverrideExistingAction()
- Returns:
- When and an action of the same name and type exists, overwrites that action. Otherwise, inserts a new action.
-
setNode
public void setNode(NodeModel node)
-
setOverrideExistingAction
public void setOverrideExistingAction(boolean overrideExistingAction)
-
setParams
public void setParams(com.alibaba.fastjson.JSONObject params)
-
setTargetName
public void setTargetName(String targetName)
-
setTaskUuid
public void setTaskUuid(UUID taskUuid)
-
-