Class WorkflowConnection
java.lang.Object
com.hybris.backoffice.workflow.designer.handler.connection.WorkflowConnection
A POJO class which encapsulates DESTINATION and TARGET of Workflow's connection
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFrom()getTo()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 Details
-
EMPTY
-
-
Method Details
-
of
Allows to create an instance ofWorkflowConnectionusingWorkflowDesignerGroup- Parameters:
from- destination of connectionto- target of connection- Returns:
- new instance of
WorkflowDesignerGroup
-
of
Allows to create an instance ofWorkflowConnectionusingEdge- Parameters:
edge- connection is created based onEdge.getFromNode()andEdge.getToNode()- Returns:
- new instance of
WorkflowDesignerGroup
-
equals
-
hashCode
public int hashCode() -
getFrom
-
getTo
-