> + private static class IsBootableDevice implements
> Predicate<VirtualGuestBlockDeviceTemplate> {
> + @Override
> + public boolean apply(VirtualGuestBlockDeviceTemplate
> blockDeviceTemplate) {
> + return blockDeviceTemplate.getDevice().equals(BOOTABLE_DEVICE);
> + }
> + }
> +
> + private static class
> BlockDeviceTemplateGroupToBlockDeviceTemplateIterable implements
> Function<VirtualGuestBlockDeviceTemplateGroup,
> + Iterable<VirtualGuestBlockDeviceTemplate>> {
> + @Override
> + public Iterable<VirtualGuestBlockDeviceTemplate>
> apply(VirtualGuestBlockDeviceTemplateGroup input) {
> + return input.getBlockDevices();
> + }
> + }
> +
> + private static class VirtualGuestBlockDeviceTemplateIterableFunction
> implements Function<VirtualGuestBlockDeviceTemplate,
> Iterable<VirtualDiskImageSoftware>> {
[minor] As with the other functions, name this so it is called `XToY`, e.g.
`BlockDeviceTemplateToDiskImageSoftware` or so?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/568/files#r18748146