/** * {@inheritDoc} */ @Override public CIMOperatingSystem build() { return new CIMOperatingSystem(family, name, version, arch, description, is64Bit, osType); }
/** * {@inheritDoc} */ @Override public CIMOperatingSystem build() { return new CIMOperatingSystem(family, name, version, arch, description, is64Bit, osType); }
/** * {@inheritDoc} */ @Override public CIMOperatingSystem build() { return new CIMOperatingSystem(family, name, version, arch, description, is64Bit, osType); }
/** * {@inheritDoc} */ @Override public CIMOperatingSystem build() { return new CIMOperatingSystem(family, name, version, arch, description, is64Bit, osType); }
public void testCIMDEBIANSupportsApt() { assert supportsApt().apply(new CIMOperatingSystem(OSType.DEBIAN, "", null, "description")); assert supportsApt().apply(new CIMOperatingSystem(OSType.DEBIAN_64, "", null, "description")); }
public void testCIMDEBIANDoesntSupportYum() { assert !supportsYum().apply(new CIMOperatingSystem(OSType.DEBIAN, "", null, "description")); assert !supportsYum().apply(new CIMOperatingSystem(OSType.DEBIAN_64, "", null, "description")); }
public void testCIMCENTOSDoesntSupportApt() { assert !supportsApt().apply(new CIMOperatingSystem(OSType.CENTOS, "", null, "description")); assert !supportsApt().apply(new CIMOperatingSystem(OSType.CENTOS_64, "", null, "description")); }
public void testCIMRHELDoesntSupportApt() { assert !supportsApt().apply(new CIMOperatingSystem(OSType.RHEL, "", null, "description")); assert !supportsApt().apply(new CIMOperatingSystem(OSType.RHEL_64, "", null, "description")); }
public void testCIMUBUNTUDoesntSupportYum() { assert !supportsYum().apply(new CIMOperatingSystem(OSType.UBUNTU, "", null, "description")); assert !supportsYum().apply(new CIMOperatingSystem(OSType.UBUNTU_64, "", null, "description")); }
public void testCIMUBUNTUDoesntSupportYum() { assert !supportsYum().apply(new CIMOperatingSystem(OSType.UBUNTU, "", null, "description")); assert !supportsYum().apply(new CIMOperatingSystem(OSType.UBUNTU_64, "", null, "description")); }
public static CIMOperatingSystem toComputeOs(org.jclouds.ovf.OperatingSystemSection os) { return new CIMOperatingSystem(OSType.fromValue(os.getId()), "", null, os.getDescription()); }
public static CIMOperatingSystem toComputeOs(OperatingSystemSection os) { return new CIMOperatingSystem(OSType.fromValue(os.getId()), "", null, os.getDescription()); }
public void testCIMUBUNTUSupportsApt() { assert supportsApt().apply(new CIMOperatingSystem(OSType.UBUNTU, "", null, "description")); assert supportsApt().apply(new CIMOperatingSystem(OSType.UBUNTU_64, "", null, "description")); }
public void testCIMCENTOSSupportsYum() { assert supportsYum().apply(new CIMOperatingSystem(OSType.CENTOS, "", null, "description")); assert supportsYum().apply(new CIMOperatingSystem(OSType.CENTOS_64, "", null, "description")); }
public void testCIMRHELSupportsYum() { assert supportsYum().apply(new CIMOperatingSystem(OSType.RHEL, "", null, "description")); assert supportsYum().apply(new CIMOperatingSystem(OSType.RHEL_64, "", null, "description")); }
public void testCIMUBUNTUSupportsApt() { assert supportsApt().apply(new CIMOperatingSystem(OSType.UBUNTU, "", null, "description")); assert supportsApt().apply(new CIMOperatingSystem(OSType.UBUNTU_64, "", null, "description")); }
public void testCIMDEBIANSupportsApt() { assert supportsApt().apply(new CIMOperatingSystem(OSType.DEBIAN, "", null, "description")); assert supportsApt().apply(new CIMOperatingSystem(OSType.DEBIAN_64, "", null, "description")); }
public void testCIMCENTOSSupportsYum() { assert supportsYum().apply(new CIMOperatingSystem(OSType.CENTOS, "", null, "description")); assert supportsYum().apply(new CIMOperatingSystem(OSType.CENTOS_64, "", null, "description")); }
public void testCIMRHELSupportsYum() { assert supportsYum().apply(new CIMOperatingSystem(OSType.RHEL, "", null, "description")); assert supportsYum().apply(new CIMOperatingSystem(OSType.RHEL_64, "", null, "description")); }
public void testCIMDEBIANDoesntSupportYum() { assert !supportsYum().apply(new CIMOperatingSystem(OSType.DEBIAN, "", null, "description")); assert !supportsYum().apply(new CIMOperatingSystem(OSType.DEBIAN_64, "", null, "description")); }