> +public abstract class Template {
> +
> + /**
> + * @return the description of this Stack Template.
> + */
> + @Nullable public abstract String getDescription();
> +
> + /**
> + * @return the parameters of this Stack, such as compute_flavor or
> compute_image.
> + */
> + @Nullable public abstract Map<String, Object> getParameters();
> +
> + /**
> + * @return the resources of this Stack, such as server_instance.
> + */
> + @Nullable public abstract Map<String, Object> getResources();
Unless we need this object to have `nullable` collections to "send null
elements" (or absent elements) to the target API, we should prefer empty
collections to null ones.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/193/files#r32463173