public class EvalCommand extends AbstractCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
EvalCommand.EvalAction
Special transactional
CliSession.Action used by the EvalCommand allowing access to the
EvalException that occurred, if any. |
log, name, paramParser| Constructor and Description |
|---|
EvalCommand() |
| Modifier and Type | Method and Description |
|---|---|
EvalCommand.EvalAction |
getAction(CliSession session,
ParseContext ctx,
boolean complete,
Map<String,Object> params)
Process command line parameters and return action.
|
String |
getHelpDetail()
Get expanded help (typically multiple lines).
|
String |
getHelpSummary()
Get summarized help (typically a single line).
|
EnumSet<SessionMode> |
getSessionModes()
Get the
SessionMode(s) supported by this command. |
getName, getParser, getUsage, parsepublic String getHelpSummary()
AbstractCommandgetHelpSummary in interface CommandgetHelpSummary in class AbstractCommandpublic String getHelpDetail()
AbstractCommand
The implementation in AbstractCommand delegates to getHelpSummary().
getHelpDetail in interface CommandgetHelpDetail in class AbstractCommandpublic EnumSet<SessionMode> getSessionModes()
AbstractCommandSessionMode(s) supported by this command.
The implementation in AbstractCommand returns an EnumSet containing
SessionMode.CORE_API and SessionMode.JSIMPLEDB.
getSessionModes in interface CommandgetSessionModes in class AbstractCommandSessionModespublic EvalCommand.EvalAction getAction(CliSession session, ParseContext ctx, boolean complete, Map<String,Object> params)
AbstractCommandgetAction in class AbstractCommandsession - CLI sessionctx - input to parsecomplete - false if parse is "for real", true if only for tab completion calculationparams - parsed parameters indexed by nameCopyright © 2016. All rights reserved.