org.jclouds.digitalocean.domain
Class OperatingSystem

java.lang.Object
  extended by 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.


Nested Class Summary
static class OperatingSystem.Builder
           
 
Method Summary
static OperatingSystem.Builder builder()
           
 boolean equals(Object obj)
           
 String getArch()
           
 Distribution getDistribution()
           
 String getVersion()
           
 int hashCode()
           
 boolean is64bit()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.