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, printclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void doExecute()
AbstractShellCommanddoExecute in class AbstractShellCommandprotected void printRoles(MastershipService service, DeviceId deviceId)
service - mastership servicedeviceId - the ID of the device