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:50:36 GMT
> +      }).to(FirewallRuleToIpPermission.class);
> +
> +      bind(TemplateOptions.class).to(CloudSigma2TemplateOptions.class);
> +      bind(TemplateOptionsToStatement.class).to(TemplateOptionsToStatementWithoutPublicKey.class);
> +
> +      bind(new TypeLiteral<SecurityGroupExtension>() {
> +      }).to(CloudSigma2SecurityGroupExtension.class);
> +   }
> +
> +   @Override
> +   protected Optional<SecurityGroupExtension> provideSecurityGroupExtension(Injector
i) {
> +      return Optional.of(i.getInstance(SecurityGroupExtension.class));
> +   }
> +
> +   @VisibleForTesting
> +   public static final Map<ServerStatus, NodeMetadata.Status> serverStatusToNodeStatus
= ImmutableMap

If visible for testing, can this be `protected` instead of `public`?

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