Class WorkflowItem


  • public abstract class WorkflowItem
    extends java.lang.Object
    Represents the nodes processed by the WorkflowNetworkFactory
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WorkflowItem.Type
      Represents the type of the node
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract com.hybris.cockpitng.components.visjs.network.data.Node createNode()
      Creates the Node object that will be drawn on the graph
      boolean equals​(java.lang.Object o)  
      java.lang.String getId()  
      java.lang.Integer getLevel()  
      abstract java.util.Collection<java.lang.String> getNeighborsIds()
      Returns the collection of ids of the neighbors
      WorkflowItem.Type getType()  
      int hashCode()  
      boolean isEnd()  
      void setLevel​(java.lang.Integer level)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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
      • 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