@Vetoed public class ShellImpl extends Object implements Shell, org.jboss.forge.addon.ui.UIRuntime
Shell interface.| Constructor and Description |
|---|
ShellImpl(org.jboss.forge.addon.resource.FileResource<?> initialResource,
org.jboss.aesh.console.settings.Settings settings,
org.jboss.forge.furnace.addons.AddonRegistry addonRegistry) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.forge.furnace.spi.ListenerRegistration<org.jboss.forge.addon.ui.command.CommandExecutionListener> |
addCommandExecutionListener(org.jboss.forge.addon.ui.command.CommandExecutionListener listener) |
void |
close() |
org.jboss.forge.addon.ui.progress.UIProgressMonitor |
createProgressMonitor(org.jboss.forge.addon.ui.context.UIContext context) |
ShellUIPromptImpl |
createPrompt(org.jboss.forge.addon.ui.context.UIContext context) |
ShellContextImpl |
createUIContext() |
org.jboss.aesh.console.AeshConsole |
getConsole() |
org.jboss.forge.addon.resource.Resource<?> |
getCurrentResource() |
org.jboss.forge.addon.ui.output.UIOutput |
getOutput() |
boolean |
isGUI() |
void |
setCurrentResource(org.jboss.forge.addon.resource.Resource<?> resource) |
public ShellImpl(org.jboss.forge.addon.resource.FileResource<?> initialResource,
org.jboss.aesh.console.settings.Settings settings,
org.jboss.forge.furnace.addons.AddonRegistry addonRegistry)
@PreDestroy public void close()
close in interface AutoCloseablepublic org.jboss.forge.addon.resource.Resource<?> getCurrentResource()
getCurrentResource in interface Shellpublic void setCurrentResource(org.jboss.forge.addon.resource.Resource<?> resource)
setCurrentResource in interface Shellpublic boolean isGUI()
isGUI in interface org.jboss.forge.addon.ui.UIProviderpublic org.jboss.aesh.console.AeshConsole getConsole()
getConsole in interface Shellpublic org.jboss.forge.addon.ui.output.UIOutput getOutput()
getOutput in interface org.jboss.forge.addon.ui.UIProviderpublic ShellContextImpl createUIContext()
public org.jboss.forge.furnace.spi.ListenerRegistration<org.jboss.forge.addon.ui.command.CommandExecutionListener> addCommandExecutionListener(org.jboss.forge.addon.ui.command.CommandExecutionListener listener)
addCommandExecutionListener in interface Shellpublic org.jboss.forge.addon.ui.progress.UIProgressMonitor createProgressMonitor(org.jboss.forge.addon.ui.context.UIContext context)
createProgressMonitor in interface org.jboss.forge.addon.ui.UIRuntimepublic ShellUIPromptImpl createPrompt(org.jboss.forge.addon.ui.context.UIContext context)
createPrompt in interface org.jboss.forge.addon.ui.UIRuntimeCopyright © 2014 JBoss by Red Hat. All rights reserved.