Package org.ogf.schemas.jsdl

Examples of org.ogf.schemas.jsdl.OperatingSystemTypeType


    public static void setOperatingSystemRequirements(JobDefinitionType value, OSRequirement osType) {
        if (osType == null || osType.getOSType() == null)
            return;
        OperatingSystemType os_Type = getOrCreateOperatingSystem(value);
        OperatingSystemTypeType ostt = os_Type.addNewOperatingSystemType();
        ostt.setOperatingSystemName(OperatingSystemTypeEnumeration.Enum.forString(osType.getOSType().getValue()));
        if (osType.getOSVersion() != null) {
            os_Type.setOperatingSystemVersion(osType.getOSVersion());
        }
    }
View Full Code Here

TOP

Related Classes of org.ogf.schemas.jsdl.OperatingSystemTypeType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.