public interface ContextFluent<T,E>
Modifier and Type | Method and Description |
---|---|
T |
addCommand(ExecutableCommand<?> command) |
E |
end()
End the scope of the current Command set
|
T |
endConversation(String uuid) |
T |
get(String name) |
<K> K |
get(String name,
Class<K> cls)
This sets an instance, for a given cls key, on the registry for commands to execute against.
|
T |
get(String name,
Scope scope) |
T |
getApplicationContext(String name) |
T |
joinConversation(String uuid) |
T |
leaveConversation() |
T |
newApplicationContext(String name) |
T |
out()
The output from the last command should be returned via the out results.
|
T |
out(String name)
The output from the last executed command should be returned and set to the given name in the context.
|
T |
set(String name)
The last executed command result is set to a name in this executing context.
|
T |
set(String name,
Scope scope) |
T |
startConversation() |
T set(String name)
name
- <K> K get(String name, Class<K> cls)
K
- name
- cls
- T out()
T out(String name)
name
- T addCommand(ExecutableCommand<?> command)
T startConversation()
T leaveConversation()
E end()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.