public class ContextInfoCommand extends AbstractContextCommand
CamelContext.| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_TIMESTAMP_FORMAT |
static String |
XML_TIMESTAMP_FORMAT |
| Constructor and Description |
|---|
ContextInfoCommand(String context,
boolean verbose) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
performContextCommand(CamelController camelController,
String contextName,
PrintStream out,
PrintStream err)
Perform Context-specific command
|
protected void |
printStatistics(CamelController camelController,
PrintStream out) |
void |
setStringEscape(StringEscape stringEscape)
Sets the
StringEscape to use. |
execute, executeLocalsafeNull, safeNullpublic static final String XML_TIMESTAMP_FORMAT
public static final String OUTPUT_TIMESTAMP_FORMAT
public ContextInfoCommand(String context, boolean verbose)
context - The name of the Camel contextverbose - Whether to output verbosepublic void setStringEscape(StringEscape stringEscape)
StringEscape to use.protected Object performContextCommand(CamelController camelController, String contextName, PrintStream out, PrintStream err) throws Exception
AbstractContextCommandperformContextCommand in class AbstractContextCommandcamelController - the Camel controllercontextName - the Camel context nameout - the output printer streamerr - the error print streamException - is thrown if error executing commandprotected void printStatistics(CamelController camelController, PrintStream out) throws Exception
ExceptionApache Camel