Package com.hazelcast.config.matcher
Class WildcardConfigPatternMatcher
java.lang.Object
com.hazelcast.config.matcher.WildcardConfigPatternMatcher
- All Implemented Interfaces:
 ConfigPatternMatcher
This 
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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Returns the best match for an item name out of a list of configuration patterns.booleanThis method is public to be accessible byInstancePermission. 
- 
Constructor Details
- 
WildcardConfigPatternMatcher
public WildcardConfigPatternMatcher() 
 - 
 - 
Method Details
- 
matches
public String matches(Iterable<String> configPatterns, String itemName) throws InvalidConfigurationException Description copied from interface:ConfigPatternMatcherReturns the best match for an item name out of a list of configuration patterns.- Specified by:
 matchesin interfaceConfigPatternMatcher- Parameters:
 configPatterns- list of known configuration patternsitemName- item name to match- Returns:
 - a key of configPatterns which matches
                          the item name or 
nullif there is no match - Throws:
 InvalidConfigurationException- if ambiguous configurations are found
 - 
matches
This method is public to be accessible byInstancePermission.- Parameters:
 pattern- configuration pattern to match withitemName- item name to match- Returns:
 trueif itemName matches,falseotherwise
 - 
equals
 - 
hashCode
public int hashCode() 
 -