io.spotnext.cms.rendering.view.ViewContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spot-cms-base Show documentation
Show all versions of spot-cms-base Show documentation
The spOt microservice framework.
package io.spotnext.cms.rendering.view;
import java.util.HashMap;
import java.util.Map;
/**
* ViewContext class.
*/
public class ViewContext {
private final Map context = new HashMap<>();
/**
* add.
*
* @param property a {@link java.lang.String} object.
* @param value a {@link java.lang.Object} object.
*/
public void add(final String property, final Object value) {
context.put(property, value);
}
/**
* get.
*
* @param property a {@link java.lang.String} object.
* @return a {@link java.lang.Object} object.
*/
public Object get(final String property) {
return context.get(property);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy