info.novatec.testit.livingdoc.Variables Maven / Gradle / Ivy
package info.novatec.testit.livingdoc;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
public class Variables implements ExecutionContext {
private final Map variables = new HashMap();
@Override
public void setVariable(String symbol, Object value) {
variables.put(symbol, value);
}
@Override
public Object getVariable(String symbol) {
return variables.get(symbol);
}
@Override
public Map getAllVariables() {
return Collections.unmodifiableMap(variables);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy