Package org.glite.ce.creamapi.jobmanagement

Examples of org.glite.ce.creamapi.jobmanagement.Job.addExtraAttribute()


            job.addExtraAttribute(JDL.SMPGRANULARITY, "" + smpGranularity);
        }

        int hostNumber = jdl.getHostNumber();
        if (hostNumber > 0) {
            job.addExtraAttribute(JDL.HOSTNUMBER, "" + hostNumber);
        }

        if (!isWholeNodes && smpGranularity > 0 && hostNumber > 0) {
            throw new Exception("the SMPGranularity and HostNumber attributes cannot be specified together when WholeNodes=false");
        }
View Full Code Here


            job.setPerusalFilesDestURI(null);
        }

        String mwVersion = jdl.getMWVersion();
        if (mwVersion != null) {
            job.addExtraAttribute(JDL.MWVERSION, mwVersion);
        }

        String lbAddress = jdl.getLBAddress();
        if (lbAddress != null) {
            job.addVolatileProperty(Job.LB_ADDRESS, lbAddress);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.