pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set job queue. If we want to specified, to which queue we want to new submit job. Optional.
     *
     * @param       queue  jobs queue
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code queue} is {@code null}
     * @exception   IllegalArgumentException in case {@code queue} is blank string
     */
Set job queue. If we want to specified, to which queue we want to new submit job. Optional.
@param       queue  jobs queue
@return      a reference to this object.
@exception   IllegalArgumentException in case  queue is  null
@exception   IllegalArgumentException in case  queue is blank string
Set job queue . If we want to specified to which queue we want to new submit job . Optional . @param queue jobs queue @return a reference to this object . @exception IllegalArgumentException in case queue is null @exception IllegalArgumentException in case queue is blank string
public SubmitJobBuilder queue(String queue) {
        if (queue == null) {
            throw new IllegalArgumentException("queue can not be null");
        }
        if (queue.replace(" ", "").isEmpty()) {
            throw new IllegalArgumentException("queue can not be empty string");
        }
        this.queue = queue;
        return this;
    }
public SubmitJobBuilder queue ( String queue ) { if ( queue == null ) { throw new IllegalArgumentException ( "queue can not be null" ) ; } if ( queue . replace ( " " , "" ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "queue can not be empty string" ) ; } this . queue = queue ; return this ; }
Set job queue.
Set job queue .