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, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void doExecute()
AbstractShellCommand
doExecute
in class AbstractShellCommand
public static List<Device> getSortedDevices(DeviceService service)
service
- device serviceprotected void printDevice(DeviceService deviceService, Device device)
deviceService
- device servicedevice
- infrastructure device