> + * Server Console Connection structure.
> + *
> + * @author Epi Vou
> + * @see <a href="http://api.openstack.org/api-ref-compute-v2-ext.html" />
> + */
> +public class Console {
> + public enum Type {
> + NOVNC("novnc"),
> + XVPVNC("xvpvnc"),
> + SPICE_HTML5("spice-html5"),
> + RDP_HTML5("rdp-html5");
> +
> + private static final Map<String, Type> types;
> +
> + static {
> + ImmutableMap.Builder<String, Type> builder = new
> ImmutableMap.Builder<String, Type>();
You can define (in the enum) RDP_HTML5("rdp-html5"); and it should be matched
(using case-insensitive matching if you follow the wiki pattern). The match
would be done using the name string (the one in quotes).
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r13028647