org.jclouds.digitalocean.domain
Class OperatingSystem
java.lang.Object
org.jclouds.digitalocean.domain.OperatingSystem
public class OperatingSystem
- extends Object
The operating system of an image.
This class parses the name string (e.g. "Ubuntu 12.10 x64") of the images and properly sets each field
to the right value.
- Author:
- Sergi Castro, Ignasi Barrera
getDistribution
public Distribution getDistribution()
getVersion
public String getVersion()
getArch
public String getArch()
is64bit
public boolean is64bit()
builder
public static OperatingSystem.Builder builder()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.