public static DiscoMatchType getMatchType ( boolean isSubsume , boolean isPlugin ) { if ( isSubsume ) { if ( isPlugin ) { // If plugin and subsume -> this is an exact match return DiscoMatchType . Exact ; } return DiscoMatchType . Subsume ; } else { if ( isPlugin ) { return DiscoMatchType . Plugin ; } } return DiscoMatchType . Fail ; }
Given the match between concepts obtain the match type