pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set qsub command prefix. Optional.
     * <p>
     * Added to enable user launch some (init) logic, before job script will be launched.
     * {@code ". /etc/profile && "} for example.
     *
     * @param       qsubPrefix  QSUB command prefix
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code qsubPrefix} is {@code null}
     * @exception   IllegalArgumentException in case {@code qsubPrefix} is blank string
     */
Set qsub command prefix. Optional.

Added to enable user launch some (init) logic, before job script will be launched.

@param       qsubPrefix  QSUB command prefix
@return      a reference to this object.
@exception   IllegalArgumentException in case  qsubPrefix is  null
@exception   IllegalArgumentException in case  qsubPrefix is blank string
Set qsub command prefix . Optional . Added to enable user launch some ( init ) logic before job script will be launched . @param qsubPrefix QSUB command prefix @return a reference to this object . @exception IllegalArgumentException in case qsubPrefix is null @exception IllegalArgumentException in case qsubPrefix is blank string
public SubmitJobBuilder qsubPrefix(String qsubPrefix) {
        if (qsubPrefix == null) {
            throw new IllegalArgumentException("qsubPrefix can not be null");
        }
        if (qsubPrefix.replace(" ", "").isEmpty()) {
            throw new IllegalArgumentException("qsubPrefix can not be empty string");
        }
        this.qsubPrefix = qsubPrefix;
        return this;
    }
public SubmitJobBuilder qsubPrefix ( String qsubPrefix ) { if ( qsubPrefix == null ) { throw new IllegalArgumentException ( "qsubPrefix can not be null" ) ; } if ( qsubPrefix . replace ( " " , "" ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "qsubPrefix can not be empty string" ) ; } this . qsubPrefix = qsubPrefix ; return this ; }
Set qsub command prefix.
Set qsub command prefix .