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