comparison artifacts/src/main/java/org/dive4elements/artifacts/GlobalContext.java @ 471:1a87cb24a446

Moved directories to org.dive4elements
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 10:50:31 +0200
parents artifacts/src/main/java/de/intevation/artifacts/GlobalContext.java@a367a0d011af
children 415df0fc4fa1
comparison
equal deleted inserted replaced
470:19cb9729bd17 471:1a87cb24a446
1 package de.intevation.artifacts;
2
3 public interface GlobalContext {
4
5 /**
6 * Fetch a custom value from the global key/value map using
7 * a given key.
8 * @param key The key.
9 * @return The stored value or null if no value was found under
10 * this key.
11 */
12 Object get(Object key);
13
14 /**
15 * Store a custom key/value pair in the global map.
16 * @param key The key to store
17 * @param value The value to store
18 * @return The old value registered under the key or null
19 * if none wa there before.
20 */
21 Object put(Object key, Object value);
22 }
23 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org