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 Type
    Method
    Description
    createDefinition(String definitionName)
    Creates a definition, given the definition name, through the use of pattern matching.
  • Method Details

    • createDefinition

      Definition createDefinition(String definitionName)
      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 null if not matched.
      Since:
      2.2.0