Package com.hybris.backoffice.workflow
Class WorkflowItem
- java.lang.Object
-
- com.hybris.backoffice.workflow.WorkflowItem
-
public abstract class WorkflowItem extends java.lang.ObjectRepresents the nodes processed by theWorkflowNetworkFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowItem.TypeRepresents the type of the node
-
Constructor Summary
Constructors Constructor Description WorkflowItem(java.lang.String id, WorkflowItem.Type type, boolean end)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.hybris.cockpitng.components.visjs.network.data.NodecreateNode()Creates theNodeobject that will be drawn on the graphbooleanequals(java.lang.Object o)java.lang.StringgetId()java.lang.IntegergetLevel()abstract java.util.Collection<java.lang.String>getNeighborsIds()Returns the collection of ids of the neighborsWorkflowItem.TypegetType()inthashCode()booleanisEnd()voidsetLevel(java.lang.Integer level)
-
-
-
Constructor Detail
-
WorkflowItem
public WorkflowItem(java.lang.String id, WorkflowItem.Type type, boolean end)
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getType
public WorkflowItem.Type getType()
-
isEnd
public boolean isEnd()
-
getLevel
public java.lang.Integer getLevel()
-
setLevel
public void setLevel(java.lang.Integer level)
-
createNode
public abstract com.hybris.cockpitng.components.visjs.network.data.Node createNode()
Creates theNodeobject that will be drawn on the graph- Returns:
- created node
-
getNeighborsIds
public abstract java.util.Collection<java.lang.String> getNeighborsIds()
Returns the collection of ids of the neighbors- Returns:
- neighbors ids
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-