public class MastersListCommand extends AbstractShellCommand
log
Constructor and Description |
---|
MastersListCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute()
Body of the shell command.
|
static com.fasterxml.jackson.databind.JsonNode |
json(com.fasterxml.jackson.databind.ObjectMapper mapper,
Iterable<DeviceId> ids)
Produces a JSON array containing the specified device identifiers.
|
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void doExecute()
AbstractShellCommand
doExecute
in class AbstractShellCommand
public static com.fasterxml.jackson.databind.JsonNode json(com.fasterxml.jackson.databind.ObjectMapper mapper, Iterable<DeviceId> ids)
mapper
- object mapperids
- collection of device identifiers