Class WorkflowItem


  • public abstract class WorkflowItem
    extends java.lang.Object
    Represents the nodes processed by the WorkflowNetworkFactory
    • Constructor Detail

      • WorkflowItem

        public WorkflowItem​(java.lang.String id,
                            WorkflowItem.Type type,
                            boolean end)
    • Method Detail

      • getId

        public java.lang.String getId()
      • 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 the Node object that will be drawn on the graph
        Returns:
        created node
      • getModel

        public abstract ItemModel getModel()
      • 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:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object