public class ShellContext extends UIContextBase implements UIValidationContext, UIContext, UIBuilder
| Constructor and Description |
|---|
ShellContext(ForgeShell aeshell) |
| Modifier and Type | Method and Description |
|---|---|
UIBuilder |
add(InputComponent<?,?> input) |
void |
addValidationError(InputComponent<?,?> input,
String errorMessage) |
InputComponent<?,?> |
findInput(String name) |
org.jboss.aesh.console.ConsoleOutput |
getConsoleOutput() |
<T> UISelection<T> |
getCurrentSelection() |
UISelection<Object> |
getInitialSelection() |
List<InputComponent<?,?>> |
getInputs() |
org.jboss.aesh.cl.CommandLineParser |
getParser() |
ForgeShell |
getShell() |
UIContext |
getUIContext() |
boolean |
isStandalone() |
void |
setConsoleOutput(org.jboss.aesh.console.ConsoleOutput output) |
void |
setParser(org.jboss.aesh.cl.CommandLineParser parser) |
void |
setStandalone(boolean standalone) |
getAttribute, removeAttribute, setAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, removeAttribute, setAttributepublic ShellContext(ForgeShell aeshell)
public boolean isStandalone()
public void setStandalone(boolean standalone)
public ForgeShell getShell()
public void setParser(org.jboss.aesh.cl.CommandLineParser parser)
public org.jboss.aesh.cl.CommandLineParser getParser()
public void setConsoleOutput(org.jboss.aesh.console.ConsoleOutput output)
public org.jboss.aesh.console.ConsoleOutput getConsoleOutput()
public UIBuilder add(InputComponent<?,?> input)
public List<InputComponent<?,?>> getInputs()
public InputComponent<?,?> findInput(String name)
public void addValidationError(InputComponent<?,?> input, String errorMessage)
addValidationError in interface UIValidationContextpublic UIContext getUIContext()
getUIContext in interface UIContextProviderpublic <T> UISelection<T> getCurrentSelection()
public UISelection<Object> getInitialSelection()
getInitialSelection in interface UIContextgetInitialSelection in class UIContextBaseCopyright © 2013 JBoss by Red Hat. All Rights Reserved.