public interface Context
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object key) |
Object |
get(Object key) |
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.
|
Object get(Object key) throws ContextException
ContextExceptionboolean contains(Object key)
void put(Object key, Object value) throws IllegalStateException
key - the key of the itemvalue - the itemIllegalStateException - if containerContext is read onlyvoid hide(Object key) throws IllegalStateException
key - the items keyIllegalStateException - if containerContext is read onlyvoid makeReadOnly()
Copyright © 2001–2024 Codehaus Plexus. All rights reserved.