public abstract class AbstractShellInteraction extends Object implements Comparable<AbstractShellInteraction>
| Modifier and Type | Field and Description |
|---|---|
protected CommandLineUtil |
commandLineUtil |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractShellInteraction(org.jboss.forge.addon.ui.UICommand root,
ShellContext shellContext,
CommandLineUtil commandLineUtil) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,org.jboss.forge.addon.ui.input.InputComponent<?,Object>> |
buildInputs(org.jboss.forge.addon.ui.UICommand command) |
int |
compareTo(AbstractShellInteraction o) |
boolean |
equals(Object o) |
abstract org.jboss.forge.addon.ui.result.Result |
execute() |
abstract List<String> |
getCompletionOptions(String typed,
String line) |
ShellContext |
getContext() |
abstract Map<String,org.jboss.forge.addon.ui.input.InputComponent<?,Object>> |
getInputs() |
String |
getName() |
org.jboss.forge.addon.ui.UICommand |
getSourceCommand() |
int |
hashCode() |
abstract org.jboss.aesh.cl.parser.ParsedCompleteObject |
parseCompleteObject(String line) |
abstract void |
populateInputs(String line,
boolean lenient) |
protected void |
removeExistingOptions(String commandLine,
Iterable<String> availableOptions) |
String |
toString() |
abstract List<String> |
validate()
Returns the error messages
|
protected final CommandLineUtil commandLineUtil
protected AbstractShellInteraction(org.jboss.forge.addon.ui.UICommand root,
ShellContext shellContext,
CommandLineUtil commandLineUtil)
public abstract Map<String,org.jboss.forge.addon.ui.input.InputComponent<?,Object>> getInputs()
public abstract org.jboss.aesh.cl.parser.ParsedCompleteObject parseCompleteObject(String line) throws org.jboss.aesh.cl.exception.CommandLineParserException
org.jboss.aesh.cl.exception.CommandLineParserExceptionpublic abstract void populateInputs(String line, boolean lenient) throws org.jboss.aesh.cl.exception.CommandLineParserException
org.jboss.aesh.cl.exception.CommandLineParserExceptionpublic abstract org.jboss.forge.addon.ui.result.Result execute()
throws Exception
Exceptionprotected Map<String,org.jboss.forge.addon.ui.input.InputComponent<?,Object>> buildInputs(org.jboss.forge.addon.ui.UICommand command)
public org.jboss.forge.addon.ui.UICommand getSourceCommand()
public final String getName()
public final ShellContext getContext()
public int compareTo(AbstractShellInteraction o)
compareTo in interface Comparable<AbstractShellInteraction>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.