mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add java doc comment for method
This commit is contained in:
parent
79c3837d8a
commit
f70661dcd2
@ -707,6 +707,13 @@ public class SubscriptionManagerImpl implements SubscriptionManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates if all devices in the subscription have pending operations for the application.
|
||||
*
|
||||
* @param devices List of {@link Device}
|
||||
* @param subscribingDeviceIdHolder Subscribing device id holder.
|
||||
* @throws BadRequestException if incompatible data is found with validate pending app operations request
|
||||
*/
|
||||
private <T> void validatePendingAppSubscription(List<Device> devices, SubscribingDeviceIdHolder subscribingDeviceIdHolder) throws BadRequestException{
|
||||
Set<DeviceIdentifier> deviceIdentifiers = devices.stream()
|
||||
.map(device -> new DeviceIdentifier(device.getDeviceIdentifier(), device.getType()))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user