Package org.jclouds.digitalocean2.domain
Class OperatingSystem
- java.lang.Object
-
- org.jclouds.digitalocean2.domain.OperatingSystem
-
public abstract 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.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
arch()
static OperatingSystem
create(String name, String distribution)
abstract Distribution
distribution()
boolean
is64bit()
abstract String
version()
-
-
-
Method Detail
-
distribution
public abstract Distribution distribution()
-
version
public abstract String version()
-
arch
public abstract String arch()
-
create
public static OperatingSystem create(String name, String distribution)
-
is64bit
public boolean is64bit()
-
-