pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set submitted job script.
     * Mandatory in case, templateId is not set.
     *
     * @param       jobScript  submitted job script.
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code jobScript} is {@code null}
     * @exception   IllegalArgumentException in case {@code jobScript} is blank string
     */
Set submitted job script.
Mandatory in case, templateId is not set.

@param       jobScript  submitted job script.
@return      a reference to this object.
@exception   IllegalArgumentException in case  jobScript is  null
@exception   IllegalArgumentException in case  jobScript is blank string
Set submitted job script . Mandatory in case templateId is not set . @param jobScript submitted job script . @return a reference to this object . @exception IllegalArgumentException in case jobScript is null @exception IllegalArgumentException in case jobScript is blank string
public SubmitJobBuilder jobScript(String jobScript) {
        if (jobScript == null) {
            throw new IllegalArgumentException("jobScript can not be null");
        }
        if (jobScript.replace(" ", "").isEmpty()) {
            throw new IllegalArgumentException("jobScript can not be empty string");
        }
        this.jobScript = jobScript;
        return this;
    }
public SubmitJobBuilder jobScript ( String jobScript ) { if ( jobScript == null ) { throw new IllegalArgumentException ( "jobScript can not be null" ) ; } if ( jobScript . replace ( " " , "" ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "jobScript can not be empty string" ) ; } this . jobScript = jobScript ; return this ; }
Set submitted job script.
Set submitted job script .