pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
         * Set chunk CPUs count value.
         *
         * @param       ncpus number of used CPUs
         * @return      a reference to this object.
         * @exception   IllegalArgumentException in case {@code ncpus} is {@code null}
         * @exception   IllegalArgumentException in case {@code ncpus} is negative value
         */
Set chunk CPUs count value.
@param       ncpus number of used CPUs
@return      a reference to this object.
@exception   IllegalArgumentException in case  ncpus is  null
@exception   IllegalArgumentException in case  ncpus is negative value
Set chunk CPUs count value . @param ncpus number of used CPUs @return a reference to this object . @exception IllegalArgumentException in case ncpus is null @exception IllegalArgumentException in case ncpus is negative value
public ChunkBuilder ncpus(Long ncpus) {
            if (ncpus == null) {
                throw new IllegalArgumentException("ncpus can not be null");
            }
            if (ncpus < 1) {
                throw new IllegalArgumentException("Number of CPUs must be positive number");
            }
            this.ncpus = ncpus;
            return this;
        }
public ChunkBuilder ncpus ( Long ncpus ) { if ( ncpus == null ) { throw new IllegalArgumentException ( "ncpus can not be null" ) ; } if ( ncpus < 1 ) { throw new IllegalArgumentException ( "Number of CPUs must be positive number" ) ; } this . ncpus = ncpus ; return this ; }
Set chunk CPUs count value.
Set chunk CPUs count value .