public int getJobType ( ) { String jobType = getSingle ( "jobtype" ) ; if ( jobType == null ) return - 1 ; if ( jobType . equalsIgnoreCase ( "single" ) ) { return JOBTYPE_SINGLE ; } else if ( jobType . equalsIgnoreCase ( "multiple" ) ) { return JOBTYPE_MULTIPLE ; } else if ( jobType . equalsIgnoreCase ( "mpi" ) ) { return JOBTYPE_MPI ; } else if ( jobType . equalsIgnoreCase ( "condor" ) ) { return JOBTYPE_CONDOR ; } else { return - 1 ; } }
Returns type of the job .