java.lang.Object
com.hybris.backoffice.workflow.designer.handler.connection.validator.ValidationContext

public class ValidationContext extends Object
Contains all necessary objects for the validators
  • Method Details

    • ofContextAndEdge

      public static ValidationContext ofContextAndEdge(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext networkChartContext, com.hybris.cockpitng.components.visjs.network.data.Edge edge)
      Creates new context based on the passed NetworkChartContext and Edge
      Parameters:
      networkChartContext - network chart context that contains all nodes for validation
      edge - edge that is not yet created but to be validated
      Returns:
      new context
    • getNetworkChartContext

      public com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext getNetworkChartContext()
    • getEdge

      public com.hybris.cockpitng.components.visjs.network.data.Edge getEdge()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object