src-java/flowhs-topology/flowhs-storm-topology/src/main/java/org/openkilda/wfm/topology/flowhs/validation/FlowValidator.java
/**
     * Validates the specified flow when swap endpoint operation.
     */
Validates the specified flow when swap endpoint operation.
Validates the specified flow when swap endpoint operation .
public void validateForSwapEndpoints(RequestedFlow firstFlow, RequestedFlow secondFlow)
            throws InvalidFlowException, UnavailableFlowEndpointException {
        baseFlowValidate(firstFlow, Sets.newHashSet(secondFlow.getFlowId()));
        baseFlowValidate(secondFlow, Sets.newHashSet(firstFlow.getFlowId()));
        checkForEqualsEndpoints(firstFlow, secondFlow);
    }
public void validateForSwapEndpoints ( RequestedFlow firstFlow , RequestedFlow secondFlow ) throws InvalidFlowException , UnavailableFlowEndpointException { baseFlowValidate ( firstFlow , Sets . newHashSet ( secondFlow . getFlowId ( ) ) ) ; baseFlowValidate ( secondFlow , Sets . newHashSet ( firstFlow . getFlowId ( ) ) ) ; checkForEqualsEndpoints ( firstFlow , secondFlow ) ; }
Validates the specified flow when swap endpoint operation.
Validates the specified flow when swap endpoint operation .