public class JavaMatcher extends Object implements com.devonfw.cobigen.api.extension.MatcherInterpreter
| Constructor and Description |
|---|
JavaMatcher() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getResolvedVariables(com.devonfw.cobigen.javaplugin.matcher.JavaMatcher.MatcherType matcherType,
String matcherValue,
String stringToMatch,
List<com.devonfw.cobigen.api.to.VariableAssignmentTo> variableAssignments)
Resolves all variables for this trigger
|
boolean |
matches(com.devonfw.cobigen.api.to.MatcherTo matcher) |
Map<String,String> |
resolveVariables(com.devonfw.cobigen.api.to.MatcherTo matcher,
List<com.devonfw.cobigen.api.to.VariableAssignmentTo> variableAssignments) |
public boolean matches(com.devonfw.cobigen.api.to.MatcherTo matcher)
matches in interface com.devonfw.cobigen.api.extension.MatcherInterpreterpublic 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
resolveVariables in interface com.devonfw.cobigen.api.extension.MatcherInterpretercom.devonfw.cobigen.api.exception.InvalidConfigurationExceptionpublic Map<String,String> getResolvedVariables(com.devonfw.cobigen.javaplugin.matcher.JavaMatcher.MatcherType matcherType, String matcherValue, String stringToMatch, List<com.devonfw.cobigen.api.to.VariableAssignmentTo> variableAssignments) throws com.devonfw.cobigen.api.exception.InvalidConfigurationException
matcherType - matcher typematcherValue - matcher valuestringToMatch - String to matchvariableAssignments - variable assigments to be resolvedMap from variable name to the resolved valuecom.devonfw.cobigen.api.exception.InvalidConfigurationException - if some of the matcher type and variable type combinations are not supportedCopyright © 2018 DevonFw. All rights reserved.