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, print
checkInterrupted, execute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void execute()
AbstractShellCommand
execute
in class AbstractShellCommand
protected void printRoles(MastershipService service, DeviceId deviceId)
service
- mastership servicedeviceId
- the ID of the device