本文整理了Java中org.jclouds.compute.domain.Hardware.supportsImage()
方法的一些代码示例,展示了Hardware.supportsImage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hardware.supportsImage()
方法的具体详情如下:
包路径:org.jclouds.compute.domain.Hardware
类名称:Hardware
方法名:supportsImage
[英]Determines whether this size can run an image.
[中]确定此大小是否可以运行图像。
代码示例来源:origin: jclouds/legacy-jclouds
@Override
public Predicate<Image> apply(Hardware input) {
return input.supportsImage();
}
代码示例来源:origin: org.apache.jclouds/jclouds-compute
@Override
public Predicate<Image> apply(Hardware input) {
return input.supportsImage();
}
代码示例来源:origin: apache/jclouds
@Override
public Predicate<Image> apply(Hardware input) {
return input.supportsImage();
}
代码示例来源:origin: io.cloudsoft.jclouds/jclouds-compute
@Override
public Predicate<Image> apply(Hardware input) {
return input.supportsImage();
}
代码示例来源:origin: org.apache.jclouds/jclouds-compute
@Override
public boolean apply(Image arg0) {
return hardware.supportsImage().apply(arg0);
}
代码示例来源:origin: jclouds/legacy-jclouds
@Override
public boolean apply(Image arg0) {
return hardware.supportsImage().apply(arg0);
}
代码示例来源:origin: io.cloudsoft.jclouds/jclouds-compute
@Override
public boolean apply(Image arg0) {
return hardware.supportsImage().apply(arg0);
}
代码示例来源:origin: apache/jclouds
@Override
public boolean apply(Image arg0) {
return hardware.supportsImage().apply(arg0);
}
代码示例来源:origin: apache/jclouds
@SuppressWarnings("unchecked")
public static HardwareBuilder fromHardware(Hardware in) {
return new HardwareBuilder().id(in.getId()).providerId(in.getProviderId()).location(in.getLocation()).name(
in.getName()).uri(in.getUri()).userMetadata(in.getUserMetadata()).tags(in.getTags()).processors(
List.class.cast(in.getProcessors())).ram(in.getRam()).volumes(List.class.cast(in.getVolumes()))
.supportsImage(in.supportsImage()).hypervisor(in.getHypervisor());
}
}
代码示例来源:origin: jclouds/legacy-jclouds
@SuppressWarnings("unchecked")
public static HardwareBuilder fromHardware(Hardware in) {
return new HardwareBuilder().id(in.getId()).providerId(in.getProviderId()).location(in.getLocation()).name(
in.getName()).uri(in.getUri()).userMetadata(in.getUserMetadata()).tags(in.getTags()).processors(
List.class.cast(in.getProcessors())).ram(in.getRam()).volumes(List.class.cast(in.getVolumes()))
.supportsImage(in.supportsImage()).hypervisor(in.getHypervisor());
}
}
代码示例来源:origin: io.cloudsoft.jclouds/jclouds-compute
@SuppressWarnings("unchecked")
public static HardwareBuilder fromHardware(Hardware in) {
return new HardwareBuilder().id(in.getId()).providerId(in.getProviderId()).location(in.getLocation()).name(
in.getName()).uri(in.getUri()).userMetadata(in.getUserMetadata()).tags(in.getTags()).processors(
List.class.cast(in.getProcessors())).ram(in.getRam()).volumes(List.class.cast(in.getVolumes()))
.supportsImage(in.supportsImage()).hypervisor(in.getHypervisor());
}
}
代码示例来源:origin: org.apache.jclouds/jclouds-compute
@SuppressWarnings("unchecked")
public static HardwareBuilder fromHardware(Hardware in) {
return new HardwareBuilder().id(in.getId()).providerId(in.getProviderId()).location(in.getLocation()).name(
in.getName()).uri(in.getUri()).userMetadata(in.getUserMetadata()).tags(in.getTags()).processors(
List.class.cast(in.getProcessors())).ram(in.getRam()).volumes(List.class.cast(in.getVolumes()))
.supportsImage(in.supportsImage()).hypervisor(in.getHypervisor());
}
}
内容来源于网络,如有侵权,请联系作者删除!