@Component public class SessionCommnds extends ShellCommands
session_| Modifier | Constructor and Description |
|---|---|
protected |
SessionCommnds() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
available() |
String |
debug(String mode) |
String |
jsonoption(Boolean pretty,
Boolean withTags) |
String |
mode(String mode) |
boolean |
modeAvailable() |
afterReturningInvocation, afterThrowingInvocation, beforeInvocationprotected SessionCommnds()
throws IOException
IOException@CliAvailabilityIndicator(value="debug") public boolean available()
@CliAvailabilityIndicator(value="mode") public boolean modeAvailable()
@CliCommand(value="debug",
help="Sets the debug mode.")
public String debug(@CliOption(key="",help="Set the debug mode to on/off")
String mode)
throws IOException
IOException@CliCommand(value="mode",
help="Sets the mode.")
public String mode(@CliOption(key="",help="Set/show the active mode (global|files|tables|stream) of the session.")
String mode)
throws IOException
IOException@CliCommand(value="jsonoptions",
help="Sets the Json output options.")
public String jsonoption(@CliOption(key="pretty",help="Sets/clears the pretty printing mode.",specifiedDefaultValue="true")
Boolean pretty,
@CliOption(key={"withtags","withTags"},help="Enables/disables printing with extended tags.",specifiedDefaultValue="true")
Boolean withTags)
throws IOException
IOExceptionCopyright © 2015 Mapr Technologies, Inc.. All rights reserved.