Class GroupsListCommand

  • All Implemented Interfaces:
    org.apache.karaf.shell.api.action.Action, CodecContext

    public class GroupsListCommand
    extends AbstractShellCommand
    Lists all groups in the system.
    • Constructor Detail

      • GroupsListCommand

        public GroupsListCommand()
    • Method Detail

      • getSortedGroups

        protected java.util.SortedMap<Device,​java.util.List<Group>> getSortedGroups​(DeviceService deviceService,
                                                                                          GroupService groupService)
        Returns the list of devices sorted using the device ID URIs.
        Parameters:
        deviceService - device service
        groupService - group service
        Returns:
        sorted device list