Class OpenAPIMatcher

  • All Implemented Interfaces:
    com.devonfw.cobigen.api.extension.MatcherInterpreter

    public class OpenAPIMatcher
    extends Object
    implements com.devonfw.cobigen.api.extension.MatcherInterpreter
    Matcher for internal OpenAPI model.
    • Constructor Detail

      • OpenAPIMatcher

        public OpenAPIMatcher()
    • Method Detail

      • matches

        public boolean matches​(com.devonfw.cobigen.api.to.MatcherTo matcher)
        Specified by:
        matches in interface com.devonfw.cobigen.api.extension.MatcherInterpreter
      • resolveVariables

        public Map<String,​String> resolveVariables​(com.devonfw.cobigen.api.to.MatcherTo matcher,
                                                         List<com.devonfw.cobigen.api.to.VariableAssignmentTo> variableAssignments)
                                                  throws com.devonfw.cobigen.api.exception.InvalidConfigurationException
        Specified by:
        resolveVariables in interface com.devonfw.cobigen.api.extension.MatcherInterpreter
        Throws:
        com.devonfw.cobigen.api.exception.InvalidConfigurationException