jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Everett Toews <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] Adds support for Rackspace Cloud Big Data (#78)
Date Fri, 07 Feb 2014 18:02:42 GMT
> +   private final Status status;
> +   private final ImmutableList<Link> links;
> +
> +   @ConstructorProperties({
> +      "name", "clusterType", "flavorId", "nodeCount", "pointInitScript",
> +      "id", "created", "updated", "postInitScriptStatus", "progress", "status", "links"
> +   })
> +   protected Cluster(String name, String clusterType, String flavorId, int nodeCount,
URI pointInitScript,
> +         String id, String created, String updated, String postInitScriptStatus, float
progress, Status status, ImmutableList<Link> links) {
> +      super(name, clusterType, flavorId, nodeCount, pointInitScript);
> +      this.id = checkNotNull(id, "id must not be null");
> +      this.created = checkNotNull(created, "created must not be null");
> +      this.updated = checkNotNull(updated, "updated must not be null");
> +      this.postInitScriptStatus = postInitScriptStatus;
> +      this.progress = progress;
> +      this.status = status;

Status can be null? Seems like the kind of thing that would always be there.

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