com.hazelcast.config.matcher
@Deprecated public class LegacyMatchingPointConfigPatternMatcher extends Object implements ConfigPatternMatcher
ConfigPatternMatcher
supports a simplified wildcard matching.
See "Config.md ## Using Wildcard" for details about the syntax.
In addition the candidates are weighted by the best match.
No exception will be thrown if multiple configurations are found.
The first best result is returned.
This matcher represents a "contains" matching to provide backward compatibility.
Please adapt your configuration and use MatchingPointConfigPatternMatcher
instead.Constructor and Description |
---|
LegacyMatchingPointConfigPatternMatcher()
Deprecated.
|
public LegacyMatchingPointConfigPatternMatcher()
public String matches(Iterable<String> configPatterns, String itemName) throws ConfigurationException
ConfigPatternMatcher
matches
in interface ConfigPatternMatcher
configPatterns
- list of configuration patternsitemName
- item name to matchConfigurationException
- if ambiguous configurations are foundCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.