Class WorkflowConnection
- java.lang.Object
-
- com.hybris.backoffice.workflow.designer.handler.connection.WorkflowConnection
-
public class WorkflowConnection extends java.lang.ObjectA POJO class which encapsulates DESTINATION and TARGET of Workflow's connection
-
-
Field Summary
Fields Modifier and Type Field Description static WorkflowConnectionEMPTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)WorkflowDesignerGroupgetFrom()WorkflowDesignerGroupgetTo()inthashCode()static WorkflowConnectionof(WorkflowDesignerGroup from, WorkflowDesignerGroup to)Allows to create an instance ofWorkflowConnectionusingWorkflowDesignerGroupstatic WorkflowConnectionof(com.hybris.cockpitng.components.visjs.network.data.Edge edge)Allows to create an instance ofWorkflowConnectionusingEdge
-
-
-
Field Detail
-
EMPTY
public static final WorkflowConnection EMPTY
-
-
Method Detail
-
of
public static WorkflowConnection of(WorkflowDesignerGroup from, WorkflowDesignerGroup to)
Allows to create an instance ofWorkflowConnectionusingWorkflowDesignerGroup- Parameters:
from- destination of connectionto- target of connection- Returns:
- new instance of
WorkflowDesignerGroup
-
of
public static WorkflowConnection of(com.hybris.cockpitng.components.visjs.network.data.Edge edge)
Allows to create an instance ofWorkflowConnectionusingEdge- Parameters:
edge- connection is created based onEdge.getFromNode()andEdge.getToNode()- Returns:
- new instance of
WorkflowDesignerGroup
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getFrom
public WorkflowDesignerGroup getFrom()
-
getTo
public WorkflowDesignerGroup getTo()
-
-