Interface DeviceGroupProvider


public interface DeviceGroupProvider
The DeviceGroupProvider provides access to existing device groups.
  • Field Details

  • Method Details

    • get

      DeviceGroup get(String name)
      Returns the DeviceGroup as identified by its name. If no device group matches the given name, null is returned.
      Parameters:
      name - The name of the desired device group.
      Returns:
      The device group with the given name, or null if not found.
    • getAll

      Returns all DeviceGroups known to this provider.
      Returns:
      A Collection containing all known device groups.
    • find

      Tries to find a matching DeviceGroup using the provided DeviceGroupPredicate.
      Parameters:
      predicate - The predicate to find a match with.
      Returns:
      The matching DeviceGroup or null if none was found.