|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShellContext
The context available to all shell commands.
| Method Summary | |
|---|---|
void |
addHandler(ShellContextEventHandler handler)
Adds an event handler to the shell context. |
Object |
getVariable(QName name)
Gets a variable from the context. |
void |
removeHandler(ShellContextEventHandler handler)
Removes an event handler from the shell context. |
Object |
removeVariable(QName name)
Removes a variable from the context. |
void |
setVariable(QName name,
Object object)
Sets a variable in the context. |
void |
setVariable(QName name,
Object object,
ShellContextVariableLifecycleHandler lifecycleHandler)
Sets a variable in the context. |
| Method Detail |
|---|
void setVariable(QName name,
Object object)
name - object -
void setVariable(QName name,
Object object,
ShellContextVariableLifecycleHandler lifecycleHandler)
name - object - lifecycleHandler - void addHandler(ShellContextEventHandler handler)
handler - void removeHandler(ShellContextEventHandler handler)
handler - Object getVariable(QName name)
name - Object removeVariable(QName name)
name -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||