public abstract class CommandSupport extends Object implements org.apache.karaf.shell.api.action.Action
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_AMAZON_DASH_HARDWARE |
protected static String |
ERROR_PARSE |
protected static String |
ERROR_UNKNOWN |
| Modifier | Constructor and Description |
|---|---|
protected |
CommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected AmazonDashHardware |
getAmazonDashHardware() |
protected PrintStream |
getConsole() |
protected org.apache.karaf.shell.api.console.Session |
getSession() |
protected void |
printError(String error) |
protected void |
printError(String error,
Throwable ex) |
protected void |
printLine(String value) |
void |
setAmazonDashHardware(AmazonDashHardware amazonDashHardware) |
void |
setSession(org.apache.karaf.shell.api.console.Session session) |
protected static final String ERROR_UNKNOWN
protected static final String ERROR_AMAZON_DASH_HARDWARE
protected static final String ERROR_PARSE
public final void setAmazonDashHardware(AmazonDashHardware amazonDashHardware)
protected final AmazonDashHardware getAmazonDashHardware()
public final void setSession(org.apache.karaf.shell.api.console.Session session)
protected final org.apache.karaf.shell.api.console.Session getSession()
protected final PrintStream getConsole()
protected final void printLine(String value)
protected final void printError(String error)
Copyright © 2017. All rights reserved.