jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs] CloudSigma2 ComputeService and SecurityGroupExtension (#70)
Date Sun, 21 Sep 2014 14:51:23 GMT
> +   }
> +
> +   @VisibleForTesting
> +   public static final Map<DriveStatus, Image.Status> driveStatusToImageStatus
= ImmutableMap
> +         .<DriveStatus, Image.Status>builder().put(DriveStatus.MOUNTED, Image.Status.AVAILABLE)
> +         .put(DriveStatus.UNMOUNTED, Image.Status.UNRECOGNIZED).put(DriveStatus.COPYING,
Image.Status.PENDING)
> +         .put(DriveStatus.UNAVAILABLE, Image.Status.ERROR).build();
> +
> +   @Provides
> +   @Singleton
> +   protected Map<DriveStatus, Image.Status> provideImageStatusMap() {
> +      return driveStatusToImageStatus;
> +   }
> +
> +   @VisibleForTesting
> +   public static final Map<FirewallIpProtocol, IpProtocol> firewallIpProtocolToIpProtocol
= ImmutableMap

See comment above

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/70/files#r17825893
Mime
View raw message