pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set id of handling script which will be used by middleware for handling changes of submitted job status.
     * Optional.
     *
     * @param       handleStatusScript  id of handle status script
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code handleStatusScript} is {@code null}
     * @exception   IllegalArgumentException in case {@code handleStatusScript} is blank string
     */
Set id of handling script which will be used by middleware for handling changes of submitted job status.
Optional.

@param       handleStatusScript  id of handle status script
@return      a reference to this object.
@exception   IllegalArgumentException in case  handleStatusScript is  null
@exception   IllegalArgumentException in case  handleStatusScript is blank string
Set id of handling script which will be used by middleware for handling changes of submitted job status . Optional . @param handleStatusScript id of handle status script @return a reference to this object . @exception IllegalArgumentException in case handleStatusScript is null @exception IllegalArgumentException in case handleStatusScript is blank string
public SubmitJobBuilder handleStatusScript(String handleStatusScript) {
        if (handleStatusScript == null) {
            throw new IllegalArgumentException("handleScript can not be null");
        }
        if (handleStatusScript.replace(" ", "").isEmpty()) {
            throw new IllegalArgumentException("handleScript can not be empty string");
        }
        this.handleStatusScript = handleStatusScript;
        return this;
    }
public SubmitJobBuilder handleStatusScript ( String handleStatusScript ) { if ( handleStatusScript == null ) { throw new IllegalArgumentException ( "handleScript can not be null" ) ; } if ( handleStatusScript . replace ( " " , "" ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "handleScript can not be empty string" ) ; } this . handleStatusScript = handleStatusScript ; return this ; }
Set id of handling script which will be used by middleware for handling changes of submitted job status.
Set id of handling script which will be used by middleware for handling changes of submitted job status .