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 Details

    • submit

      boolean submit(Rewrite event, EvaluationContext context, Parameter<?> param, String value)
      Submit the given Parameter and value. Return false if the value does not match configured Constraint instances, or does not match an already submitted value; otherwise, return true..
    • isValid

      boolean isValid(Rewrite event, EvaluationContext context, Parameter<?> param, String value)
      Validate the given Parameter and value. Return false if the value does not match configured Constraint instances, or does not match an already submitted value; otherwise, return true.
    • retrieve

      String retrieve(Parameter<?> parameter)
      Retrieve the currenet value for the given Parameter. (May be null if no value has been set, or if the value is null.)