public class WildcardConfigPatternMatcher extends Object implements ConfigPatternMatcher
ConfigPatternMatcher supports a simplified wildcard matching.
 See "Config.md ## Using Wildcard" for details about the syntax options.
 
 Throws InvalidConfigurationException is multiple configurations are found.
| Constructor and Description | 
|---|
| WildcardConfigPatternMatcher() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| int | hashCode() | 
| String | matches(Iterable<String> configPatterns,
       String itemName)Returns the best match for an item name out of a list of configuration patterns. | 
| boolean | matches(String pattern,
       String itemName)This method is public to be accessible by  InstancePermission. | 
public String matches(Iterable<String> configPatterns, String itemName) throws InvalidConfigurationException
ConfigPatternMatchermatches in interface ConfigPatternMatcherconfigPatterns - list of known configuration patternsitemName - item name to matchnull if there
                          is no matchInvalidConfigurationException - if ambiguous configurations are foundpublic boolean matches(String pattern, String itemName)
InstancePermission.pattern - configuration pattern to match withitemName - item name to matchtrue if itemName matches, false otherwiseCopyright © 2022 Hazelcast, Inc.. All rights reserved.