public abstract class AbstractCommand
extends org.apache.karaf.shell.console.OsgiCommandSupport
| 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 |
AbstractCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected PrintStream |
getConsole() |
protected at.creadoo.homer.processing.presence.PresenceSimulator |
getPresenceSimulator() |
protected org.apache.felix.service.command.CommandSession |
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) |
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()
protected final org.apache.felix.service.command.CommandSession getSession()
protected final PrintStream getConsole()
protected final void printStatus()
protected final void printError(String error)
Copyright © 2015. All rights reserved.