public interface Context
Modifier and Type | Method and Description |
---|---|
void |
disconnect() |
void |
error(String s) |
void |
error(Throwable t) |
void |
execute() |
void |
execute(CommandBuffer commandBuffer) |
CommandBuffer |
getCommandBuffer() |
CommandRegistry |
getCommandRegistry() |
Connection |
getConnection() |
IOAdapter |
getOutputAdapter() |
String |
getProperty(String key) |
boolean |
isConnected() |
boolean |
isQuitting() |
void |
println(String s) |
void |
refreshProperties() |
void |
result(List<ProcessedCommand> commands,
String result,
boolean isError) |
void |
setConnection(Connection connection) |
void |
setOutputAdapter(IOAdapter outputAdapter) |
void |
setProperty(String key,
String value) |
void |
setQuitting(boolean quitting) |
boolean isConnected()
boolean isQuitting()
void setQuitting(boolean quitting)
void println(String s)
Connection getConnection()
void setConnection(Connection connection)
void disconnect()
void error(String s)
void error(Throwable t)
void result(List<ProcessedCommand> commands, String result, boolean isError)
void refreshProperties()
CommandBuffer getCommandBuffer()
CommandRegistry getCommandRegistry()
IOAdapter getOutputAdapter()
void setOutputAdapter(IOAdapter outputAdapter)
void execute()
void execute(CommandBuffer commandBuffer)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.