use of org.ggf.schemas.jsdl.x2005.x11.jsdl.CPUArchitectureType in project airavata by apache.
the class JSDLUtils method setCPUArchitectureRequirements.
public static void setCPUArchitectureRequirements(JobDefinitionType value, ProcessorRequirement cpuArchitecture) {
if (cpuArchitecture == null || cpuArchitecture.getValue() == null)
return;
CPUArchitectureType cpuArch = getOrCreateCPUArchitecture(value);
cpuArch.setCPUArchitectureName(ProcessorArchitectureEnumeration.Enum.forString(cpuArchitecture.getValue()));
}
Aggregations