public class MastersListCommand extends AbstractShellCommand
| Constructor and Description |
|---|
MastersListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this command.
|
static com.fasterxml.jackson.databind.JsonNode |
json(com.fasterxml.jackson.databind.ObjectMapper mapper,
Iterable<org.onosproject.net.DeviceId> ids)
Produces a JSON array containing the specified device identifiers.
|
annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printprotected void execute()
AbstractShellCommandexecute in class AbstractShellCommandpublic static com.fasterxml.jackson.databind.JsonNode json(com.fasterxml.jackson.databind.ObjectMapper mapper,
Iterable<org.onosproject.net.DeviceId> ids)
mapper - object mapperids - collection of device identifiersCopyright © 2015. All rights reserved.