Interface WorkflowFlowNetworkFactory

    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      boolean canHandle​(java.util.Collection<WorkflowItem> items, com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context)
      Checks if it is possible to create a Network for given input
      default com.hybris.cockpitng.components.visjs.network.data.Network create​(java.util.Collection<WorkflowItem> items)
      Creates instance of Network
      com.hybris.cockpitng.components.visjs.network.data.Network create​(java.util.Collection<WorkflowItem> items, com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context)
      Creates instance of Network
      • Methods inherited from interface org.springframework.core.Ordered

        getOrder
    • Method Detail

      • canHandle

        boolean canHandle​(java.util.Collection<WorkflowItem> items,
                          com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context)
        Checks if it is possible to create a Network for given input
        Parameters:
        items - the collection of WorkflowItem which can be used to build the Network
        context - context with data about the Network
        Returns:
        whether Network can be created or not
      • create

        default com.hybris.cockpitng.components.visjs.network.data.Network create​(java.util.Collection<WorkflowItem> items)
        Creates instance of Network
        Parameters:
        items - the collection of WorkflowItem which can be used to build the Network
        Returns:
        newly created Network
      • create

        com.hybris.cockpitng.components.visjs.network.data.Network create​(java.util.Collection<WorkflowItem> items,
                                                                          com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context)
        Creates instance of Network
        Parameters:
        items - the collection of WorkflowItem which can be used to build the Network
        context - context with data about the Network
        Returns:
        newly created Network