public abstract class CommandSupport extends Object implements org.apache.karaf.shell.api.action.Action
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_PARSE |
protected static String |
ERROR_PRESENCE_SIMULATOR |
protected static String |
ERROR_UNKNOWN |
org.joda.time.format.DateTimeFormatter |
TIME_FORMAT |
org.joda.time.format.DateTimeFormatter |
TIME_PARSER |
| Modifier | Constructor and Description |
|---|---|
protected |
CommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected PrintStream |
getConsole() |
protected at.creadoo.homer.processing.presence.PresenceSimulator |
getPresenceSimulator() |
protected org.apache.karaf.shell.api.console.Session |
getSession() |
protected void |
printError(String error) |
protected void |
printError(String error,
Throwable ex) |
protected void |
printStatus() |
void |
setPresenceSimulator(at.creadoo.homer.processing.presence.PresenceSimulator presenceSimulator) |
void |
setSession(org.apache.karaf.shell.api.console.Session session) |
protected static final String ERROR_UNKNOWN
protected static final String ERROR_PRESENCE_SIMULATOR
protected static final String ERROR_PARSE
public final org.joda.time.format.DateTimeFormatter TIME_FORMAT
public final org.joda.time.format.DateTimeFormatter TIME_PARSER
public final void setPresenceSimulator(at.creadoo.homer.processing.presence.PresenceSimulator presenceSimulator)
protected final at.creadoo.homer.processing.presence.PresenceSimulator getPresenceSimulator()
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 printStatus()
protected final void printError(String error)
Copyright © 2016. All rights reserved.