org.jboss.forge.aesh
Class ShellContext
java.lang.Object
org.jboss.forge.ui.context.AbstractUIContext
org.jboss.forge.aesh.ShellContext
- All Implemented Interfaces:
- UIBuilder, UIContext, UIContextProvider, UIValidationContext
public class ShellContext
- extends AbstractUIContext
- implements UIValidationContext, UIContext, UIBuilder
- Author:
- Ståle W. Pedersen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellContext
public ShellContext(ForgeShell aeshell)
isStandalone
public boolean isStandalone()
setStandalone
public void setStandalone(boolean standalone)
getShell
public ForgeShell getShell()
setParser
public void setParser(org.jboss.aesh.cl.CommandLineParser parser)
getParser
public org.jboss.aesh.cl.CommandLineParser getParser()
setConsoleOutput
public void setConsoleOutput(org.jboss.aesh.console.ConsoleOutput output)
getConsoleOutput
public org.jboss.aesh.console.ConsoleOutput getConsoleOutput()
add
public UIBuilder add(InputComponent<?,?> input)
- Specified by:
add in interface UIBuilder
getInputs
public List<InputComponent<?,Object>> getInputs()
findInput
public InputComponent<?,?> findInput(String name)
addValidationError
public void addValidationError(InputComponent<?,?> input,
String errorMessage)
- Specified by:
addValidationError in interface UIValidationContext
getUIContext
public UIContext getUIContext()
- Specified by:
getUIContext in interface UIContextProvider
getCurrentSelection
public <T> UISelection<T> getCurrentSelection()
getInitialSelection
public UISelection<Object> getInitialSelection()
- Specified by:
getInitialSelection in interface UIContext- Overrides:
getInitialSelection in class AbstractUIContext
getAttribute
public Object getAttribute(Object key)
- Specified by:
getAttribute in interface UIContext- Overrides:
getAttribute in class AbstractUIContext
removeAttribute
public Object removeAttribute(Object key)
- Specified by:
removeAttribute in interface UIContext- Overrides:
removeAttribute in class AbstractUIContext
setAttribute
public void setAttribute(Object key,
Object value)
- Specified by:
setAttribute in interface UIContext- Overrides:
setAttribute in class AbstractUIContext
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.