public int getCurrentMethodOrdinal ( int overrideId , int pathId , String clientUUID , String [ ] filters ) throws Exception { int currentOrdinal = 0 ; List < EnabledEndpoint > enabledEndpoints = getEnabledEndpoints ( pathId , clientUUID , filters ) ; for ( EnabledEndpoint enabledEndpoint : enabledEndpoints ) { if ( enabledEndpoint . getOverrideId ( ) == overrideId ) { currentOrdinal ++ ; } } return currentOrdinal ; }
Get the ordinal value for the last of a particular override on a path