> +            .overrides(overrides)
> +            .buildView(ComputeServiceContext.class);
> +      computeService = context.getComputeService();
> +   }
> +
> +   /**
> +    * This will delete all servers in group {@link Constants#NAME}
> +    */
> +   private void deleteServer() {
> +      System.out.format("Delete Servers in group %s%n", NAME);
> +
> +      // This method will continue to poll for the server status and won't 
> return until this server
> +      // is DELETED.
> +      Set<? extends NodeMetadata> servers = 
> computeService.destroyNodesMatching(inGroup(NAME));
> +
> +      for (NodeMetadata server: servers) {

Done. And squashed.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/47/files#r12316556

Reply via email to