org.jclouds.compute.domain
Class CIMOperatingSystem

java.lang.Object
  extended by org.jclouds.compute.domain.OperatingSystem
      extended by org.jclouds.compute.domain.CIMOperatingSystem

@Beta
public class CIMOperatingSystem
extends OperatingSystem

Operating system based on DMTF CIM model.

Author:
Adrian Cole
See Also:
DMTF CIM model

Nested Class Summary
static class CIMOperatingSystem.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.compute.domain.OperatingSystem
arch, description, family, is64Bit, name, version
 
Constructor Summary
protected CIMOperatingSystem()
           
  CIMOperatingSystem(OsFamily family, String name, String version, String arch, String description, boolean is64Bit, OSType osType)
           
  CIMOperatingSystem(OSType osType, String version, String arch, String description)
           
 
Method Summary
static CIMOperatingSystem.Builder builder()
           
 boolean equals(Object obj)
           
 OSType getOsType()
          CIM OSType of the image
 int hashCode()
           
static CIMOperatingSystem toComputeOs(Envelope ovf)
           
static CIMOperatingSystem toComputeOs(OperatingSystemSection os)
           
 String toString()
           
 
Methods inherited from class org.jclouds.compute.domain.OperatingSystem
getArch, getDescription, getFamily, getName, getVersion, is64Bit, toBuilder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CIMOperatingSystem

protected CIMOperatingSystem()

CIMOperatingSystem

public CIMOperatingSystem(OSType osType,
                          String version,
                          String arch,
                          String description)

CIMOperatingSystem

public CIMOperatingSystem(@Nullable
                          OsFamily family,
                          @Nullable
                          String name,
                          @Nullable
                          String version,
                          @Nullable
                          String arch,
                          String description,
                          boolean is64Bit,
                          OSType osType)
Method Detail

builder

public static CIMOperatingSystem.Builder builder()

toComputeOs

public static CIMOperatingSystem toComputeOs(OperatingSystemSection os)

toComputeOs

public static CIMOperatingSystem toComputeOs(Envelope ovf)

getOsType

public OSType getOsType()
CIM OSType of the image


hashCode

public int hashCode()
Overrides:
hashCode in class OperatingSystem

equals

public boolean equals(Object obj)
Overrides:
equals in class OperatingSystem

toString

public String toString()
Overrides:
toString in class OperatingSystem


Copyright © 2009-2011 jclouds. All Rights Reserved.