org.codehaus.plexus.context
public interface Context
Method Summary | |
---|---|
boolean | contains(Object key)
Returns true if the map or the parent map contains the key.
|
Object | get(Object key)
Returns the value of the key. |
Map | getContextData()
Utility method to retrieve containerContext data.
the returned Map is an unmodifiable view. |
void | hide(Object key)
Hides the item in the containerContext.
|
void | makeReadOnly()
Make the containerContext read-only.
|
void | put(Object key, Object value)
Adds the item to the containerContext.
|
Parameters: key The key to search for.
Returns: Returns true if the key was found.
Parameters: key The key of the value to look up.
Returns: Returns
Throws: ContextException If the key doesn't exist.
Returns: the containerContext data
Since: 1.0-alpha-18
Parameters: key the items key
Throws: java.lang.IllegalStateException if containerContext is read only
Parameters: key the key of the item value the item
Throws: java.lang.IllegalStateException if containerContext is read only