public class DefaultParameterValueStore extends Object implements ParameterValueStore, Iterable<Map.Entry<Parameter<?>,String>>
ParameterValueStore
Constructor and Description |
---|
DefaultParameterValueStore() |
Modifier and Type | Method and Description |
---|---|
String |
get(Parameter<?> parameter) |
Iterator<Map.Entry<Parameter<?>,String>> |
iterator() |
String |
retrieve(Parameter<?> parameter)
Retrieve the value for the given
Parameter |
boolean |
submit(Rewrite event,
EvaluationContext context,
Parameter<?> param,
String value)
Submit the given
Parameter and value. |
String |
toString() |
public String retrieve(Parameter<?> parameter)
ParameterValueStore
Parameter
retrieve
in interface ParameterValueStore
public boolean submit(Rewrite event, EvaluationContext context, Parameter<?> param, String value)
ParameterValueStore
Parameter
and value. Return false if the value does not match configured
Constraint
instances, or does not match an already submitted value.submit
in interface ParameterValueStore
Copyright © 2014 OCPsoft. All Rights Reserved.