public class RolesCommand extends AbstractShellCommand
log
Constructor and Description |
---|
RolesCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute()
Body of the shell command.
|
protected void |
printRoles(MastershipService service,
DeviceId deviceId)
Prints the role information for a 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
protected void printRoles(MastershipService service, DeviceId deviceId)
service
- mastership servicedeviceId
- the ID of the device