public class DevicesListCommand extends AbstractShellCommand
| Constructor and Description |
|---|
DevicesListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this 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, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printcheckInterrupted, executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void execute()
AbstractShellCommandexecute in class AbstractShellCommandpublic static List<Device> getSortedDevices(DeviceService service)
service - device serviceprotected void printDevice(DeviceService deviceService, Device device)
deviceService - device servicedevice - infrastructure device