Package org.ogf.schemas.jsdl

Examples of org.ogf.schemas.jsdl.ResourcesType


        }
        return descr.getJobIdentification();
    }

    public static OperatingSystemType getOrCreateOperatingSystem(JobDefinitionType value) {
        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetOperatingSystem()) {
            jobResources.addNewOperatingSystem();
        }
        return jobResources.getOperatingSystem();
    }
View Full Code Here


        return jobDescr.getResources();
    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateTotalCPUCount(JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetTotalCPUCount()) {
            jobResources.addNewTotalCPUCount();
        }
        return jobResources.getTotalCPUCount();
    }
View Full Code Here

    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateTotalResourceCount(
            JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetTotalResourceCount()) {
            jobResources.addNewTotalResourceCount();
        }
        return jobResources.getTotalResourceCount();
    }
View Full Code Here

        }
        return jobDescr.getApplication();
    }

    public static CandidateHostsType getOrCreateCandidateHosts(JobDefinitionType value) {
        ResourcesType resources = getOrCreateResources(value);
        if (!resources.isSetCandidateHosts()) {
            resources.addNewCandidateHosts();
        }
        return resources.getCandidateHosts();
    }
View Full Code Here

        return resources.getCandidateHosts();
    }

    public static CPUArchitectureType getOrCreateCPUArchitecture(JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetCPUArchitecture()) {
            jobResources.addNewCPUArchitecture();
        }
        return jobResources.getCPUArchitecture();
    }
View Full Code Here

        return jobResources.getCPUArchitecture();
    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateIndividualCPUCount(
            JobDefinitionType value) {
        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetIndividualCPUCount()) {
            jobResources.addNewIndividualCPUCount();
        }
        return jobResources.getIndividualCPUCount();
    }
View Full Code Here

    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateIndividualCPUSpeed(
            JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetIndividualCPUSpeed()) {
            jobResources.addNewIndividualCPUSpeed();
        }
        return jobResources.getIndividualCPUSpeed();
    }
View Full Code Here

    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateIndividualCPUTime(
            JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetIndividualCPUTime()) {
            jobResources.addNewIndividualCPUTime();
        }
        return jobResources.getIndividualCPUTime();
    }
View Full Code Here

    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateIndividualDiskSpace(
            JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetIndividualDiskSpace()) {
            jobResources.addNewIndividualDiskSpace();
        }
        return jobResources.getIndividualDiskSpace();
    }
View Full Code Here

    }

    public static org.ogf.schemas.jsdl.RangeValueType getOrCreateIndividualPhysicalMemory(
            JobDefinitionType value) {

        ResourcesType jobResources = getOrCreateResources(value);
        if (!jobResources.isSetIndividualPhysicalMemory()) {
            jobResources.addNewIndividualPhysicalMemory();
        }
        return jobResources.getIndividualPhysicalMemory();
    }
View Full Code Here

TOP

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

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.