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] Add nova neutron support (#311)
Date Sat, 08 Mar 2014 19:53:54 GMT
> + * Used to provide support for network, port, and fixed_ip when booting Nova servers.
> + * @author Zack Shoylev
> + */
> +public class Network implements Comparable<Network> {
> +   private String networkUuid;
> +   private String portUuid;
> +   private String fixedIp;
> +
> +   @ConstructorProperties({
> +      "networkUuid", "portUuid", "fixedIp"
> +   })
> +   protected Network(String networkUuid, String portUuid, String fixedIp) {
> +      checkArgument(networkUuid!=null || portUuid!=null, "At least one of networkUuid
or portUuid should be specified");
> +      this.networkUuid = networkUuid;
> +      this.portUuid = portUuid;
> +      this.fixedIp = fixedIp;

Is this nullable?

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