public class HostsListCommand extends AbstractShellCommand
| Constructor and Description |
|---|
HostsListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this command.
|
protected List<Host> |
getSortedHosts(HostService service)
Returns the list of devices sorted using the device ID URIs.
|
protected void |
printHost(Host host)
Prints information about a host.
|
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 AbstractShellCommandprotected List<Host> getSortedHosts(HostService service)
service - device serviceprotected void printHost(Host host)
host - end-station host