public interface ParameterizedPatternResult
ParameterizedPatternParser#matches(Rewrite, EvaluationContext, String). Provides methods
for controlling parameter value submission.| Modifier and Type | Method and Description |
|---|---|
Map<Parameter<?>,String> |
getParameters(EvaluationContext context)
|
boolean |
isValid(Rewrite event,
EvaluationContext context)
Validate all
Parameter values defined within the original ParameterizedPattern. |
boolean |
matches()
|
boolean |
submit(Rewrite event,
EvaluationContext context)
Submit all
Parameter values to the ParameterValueStore, only if the values are match a prior value
or have not yet had a value set. |
boolean matches()
boolean isValid(Rewrite event, EvaluationContext context)
Parameter values defined within the original ParameterizedPattern. Return
true if all values matched configured Constraint instances, and matched an already submitted
parameter value; otherwise, return false.boolean submit(Rewrite event, EvaluationContext context)
Parameter values to the ParameterValueStore, only if the values are match a prior value
or have not yet had a value set. Returns true if submission was successful, false if
not.Map<Parameter<?>,String> getParameters(EvaluationContext context)
Copyright © 2016 OCPsoft. All rights reserved.