Package org.ocpsoft.rewrite.param
Interface ParameterValueStore
- All Known Implementing Classes:
DefaultParameterValueStore
public interface ParameterValueStore
Used to submit
Parameter values in String form. These values will subsequently be passed through
Constraint, Transposition and Binding processing.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid(Rewrite event, EvaluationContext context, Parameter<?> param, String value) Validate the givenParameterand value.Retrieve the currenet value for the givenParameter.booleansubmit(Rewrite event, EvaluationContext context, Parameter<?> param, String value) Submit the givenParameterand value.
-
Method Details
-
submit
Submit the givenParameterand value. Returnfalseif the value does not match configuredConstraintinstances, or does not match an already submitted value; otherwise, returntrue.. -
isValid
Validate the givenParameterand value. Returnfalseif the value does not match configuredConstraintinstances, or does not match an already submitted value; otherwise, returntrue. -
retrieve
Retrieve the currenet value for the givenParameter. (May benullif no value has been set, or if the value isnull.)
-