pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set qsub command suffix. Optional.
     * <p>
     * Added to enable user launch some (post) logic, after job script finished.
     * {@code " && echo hello > /tmp/a"} for example.
     *
     * @param       qsubSuffix  QSUB command suffix
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code qsubSuffix} is {@code null}
     * @exception   IllegalArgumentException in case {@code qsubSuffix} is blank string
     */
Set qsub command suffix. Optional.

Added to enable user launch some (post) logic, after job script finished.
" && echo hello > /tmp/a" for example.

@param       qsubSuffix  QSUB command suffix
@return      a reference to this object.
@exception   IllegalArgumentException in case  qsubSuffix is  null
@exception   IllegalArgumentException in case  qsubSuffix is blank string
Set qsub command suffix . Optional . Added to enable user launch some ( post ) logic after job script finished . " && echo hello > / tmp / a " for example . @param qsubSuffix QSUB command suffix @return a reference to this object . @exception IllegalArgumentException in case qsubSuffix is null @exception IllegalArgumentException in case qsubSuffix is blank string
public SubmitJobBuilder qsubSuffix(String qsubSuffix) {
        if (qsubSuffix == null) {
            throw new IllegalArgumentException("qsubSuffix can not be null");
        }
        if (qsubSuffix.replace(" ", "").isEmpty()) {
            throw new IllegalArgumentException("qsubSuffix can not be empty string");
        }
        this.qsubSuffix = qsubSuffix;
        return this;
    }
public SubmitJobBuilder qsubSuffix ( String qsubSuffix ) { if ( qsubSuffix == null ) { throw new IllegalArgumentException ( "qsubSuffix can not be null" ) ; } if ( qsubSuffix . replace ( " " , "" ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "qsubSuffix can not be empty string" ) ; } this . qsubSuffix = qsubSuffix ; return this ; }
Set qsub command suffix.
Set qsub command suffix .