MutableContext.java

biz/hammurapi/config/MutableContext.java

Violations

Inspector Message Severity Location
Java Inspector 048 Copyrights information should be present in each file. 1

Source code

1package biz.hammurapi.config;
2
3/**
4 * Context which entries can be modified.
5 * @author Pavel
6 *
7 */
8public interface MutableContext extends Context {
9
10 /**
11 * Sets context value.
12 * @param name
13 * @param value
14 */
15 void set(String name, Object value);
16
17 /**
18 * Removes context value.
19 * @param name
20 * @return true if operation was successful. In some cases
21 * removal of name/value pair may not be supported (e.g. chained contexts).
22 */
23 boolean remove(String name);
24}
25