com.hazelcast.config.matcher
public class RegexConfigPatternMatcher extends Object implements ConfigPatternMatcher
ConfigPatternMatcher
uses Java regular expressions for matching.
Throws ConfigurationException
is multiple configurations are found.Constructor and Description |
---|
RegexConfigPatternMatcher() |
RegexConfigPatternMatcher(int flags) |
public RegexConfigPatternMatcher()
public RegexConfigPatternMatcher(int flags)
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.