> + .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 Server%n");
> +
> + // 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 nodeMetadata: servers) {
Done. "NodeMetadata server : servers"
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/47/files#r12314686