public class MatchingPointConfigPatternMatcher extends Object implements ConfigPatternMatcher
ConfigPatternMatcher supports a simplified wildcard matching.
See "Config.md ## Using Wildcard" for details about the syntax options.
In addition the candidates are weighted by the best match. The best result is returned.
Throws ConfigurationException is multiple configurations are found.| Constructor and Description |
|---|
MatchingPointConfigPatternMatcher() |
public String matches(Iterable<String> configPatterns, String itemName) throws ConfigurationException
ConfigPatternMatchermatches in interface ConfigPatternMatcherconfigPatterns - list of configuration patternsitemName - item name to matchConfigurationException - if ambiguous configurations are foundCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.