public class MatchUtils extends Object
| Constructor and Description |
|---|
MatchUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isWildcardMatcherSingle(String name) |
static boolean |
matchMethod(Resource resource,
com.tencent.polaris.specification.api.v1.model.ModelProto.MatchString matchString,
Function<String,Pattern> regexToPattern) |
static boolean |
matchService(ServiceKey serviceKey,
String namespace,
String service) |
public static boolean matchService(ServiceKey serviceKey, String namespace, String service)
public static boolean matchMethod(Resource resource, com.tencent.polaris.specification.api.v1.model.ModelProto.MatchString matchString, Function<String,Pattern> regexToPattern)
public static boolean isWildcardMatcherSingle(String name)
Copyright © 2023. All rights reserved.