public class DevicesListCommand extends AbstractShellCommand
log| Constructor and Description |
|---|
DevicesListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Body of the shell command.
|
static List<Device> |
getSortedDevices(DeviceService service)
Returns the list of devices sorted using the device ID URIs.
|
protected void |
printDevice(DeviceService deviceService,
Device device)
Prints information about the specified device.
|
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, printclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void doExecute()
AbstractShellCommanddoExecute in class AbstractShellCommandpublic static List<Device> getSortedDevices(DeviceService service)
service - device serviceprotected void printDevice(DeviceService deviceService, Device device)
deviceService - device servicedevice - infrastructure device