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
ContextException
boolean 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–2019 Codehaus Plexus. All rights reserved.