|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Attributes
| Method Summary | ||
|---|---|---|
Map<String,Object> |
all()
|
|
|
get(String name)
Get an attribute from this context |
|
boolean |
has(String name)
Check if the context has a specific attribute |
|
|
remove(String name)
Removes an attribute. |
|
void |
set(String name,
Object value)
Set an attribute |
|
| Method Detail |
|---|
<T> T get(String name)
throws TestPluginException
T - Infered type of the attributename - Attribute name (should be unique amongst all attribute names)
TestPluginException - If the attribute does not exist (and thus we cannot get its value)
void set(String name,
Object value)
name - Attribute name (should be unique amongst all attribute names)value - Attribute Valueboolean has(String name)
name - Attribute name
<T> T remove(String name)
T - Inferred attribute typename - Attribute name
Map<String,Object> all()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||