> +package org.jclouds.compute.util;
> +
> +import com.google.common.base.Splitter;
> +
> +import java.util.Map;
> +
> +public class AutomaticHardwareIdSpec {
> +
> +   private double cores;
> +   private int ram;
> +
> +   public static boolean isAutomaticId(String id) {
> +      return id.startsWith("automatic:");
> +   }
> +
> +   public static AutomaticHardwareIdSpec parseId(String hardwareId) {

I'm guessing there's no way to avoid encoding this a string and using an 
(automatically deserialized) object instead?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/984/files/55c696c2ba870e202cfb8e42734e66bb31aab7b4#r73572227

Reply via email to