Interface DefinitionPatternMatcher
- All Known Implementing Classes:
RegexpDefinitionPatternMatcher,WildcardDefinitionPatternMatcher
public interface DefinitionPatternMatcher
Matches a definition name to a definition, through pattern-matching. The
matched pattern should be a single one.
- Since:
- 2.2.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateDefinition(String definitionName) Creates a definition, given the definition name, through the use of pattern matching.
-
Method Details
-
createDefinition
Creates a definition, given the definition name, through the use of pattern matching.- Parameters:
definitionName- The definition name to match.- Returns:
- The created definition, if matched, or
nullif not matched. - Since:
- 2.2.0
-