Search in sources :

Example 1 with CPUArchitectureType

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()));
}
Also used : CPUArchitectureType(org.ggf.schemas.jsdl.x2005.x11.jsdl.CPUArchitectureType)

Aggregations

CPUArchitectureType (org.ggf.schemas.jsdl.x2005.x11.jsdl.CPUArchitectureType)1