public interface DeviceGroupProvider
DeviceGroupProvider
provides access to existing device groups.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MOUNTPOINT_DEVICEGROUPS |
Modifier and Type | Method and Description |
---|---|
DeviceGroup |
find(DeviceGroupPredicate predicate)
Tries to find a matching
DeviceGroup using the provided DeviceGroupPredicate . |
DeviceGroup |
get(java.lang.String name)
Returns the
DeviceGroup as identified by its name . |
java.util.Collection<DeviceGroup> |
getAll()
Returns all
DeviceGroup s known to this provider. |
static final java.lang.String MOUNTPOINT_DEVICEGROUPS
DeviceGroup get(java.lang.String name)
DeviceGroup
as identified by its name
. If no device group matches the given
name, null
is returned.name
- The name of the desired device group.null
if not found.java.util.Collection<DeviceGroup> getAll()
DeviceGroup
s known to this provider.Collection
containing all known device groups.DeviceGroup find(DeviceGroupPredicate predicate)
DeviceGroup
using the provided DeviceGroupPredicate
.predicate
- The predicate to find a match with.DeviceGroup
or null
if none was found.Copyright © 2010 - 2020 Adobe. All Rights Reserved