public final class MockHelpCommandHandler extends MockCommand
MockCommand.Command| Constructor and Description |
|---|
MockHelpCommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
CommandStatus |
execute(CouchbaseMock mock,
MockCommand.Command command,
com.google.gson.JsonObject payload)
Execute the command
|
static String |
getIndentedHelp() |
getResponsepublic static String getIndentedHelp()
@NotNull public CommandStatus execute(@NotNull CouchbaseMock mock, @NotNull MockCommand.Command command, @NotNull com.google.gson.JsonObject payload)
MockCommandexecute in class MockCommandmock - the couchbase mock object to operate oncommand - the actual command being executed (in case a handler
implements multiple commandspayload - the payload containing arguments to the commandCopyright © 2017. All rights reserved.