pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set id of job template used for submitting nad handling job.
     *
     * @param       templateId  d of job template.
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code templateId} is {@code null}
     * @exception   IllegalArgumentException in case {@code templateId} is blank string
     */
Set id of job template used for submitting nad handling job.
@param       templateId  d of job template.
@return      a reference to this object.
@exception   IllegalArgumentException in case  templateId is  null
@exception   IllegalArgumentException in case  templateId is blank string
Set id of job template used for submitting nad handling job . @param templateId d of job template . @return a reference to this object . @exception IllegalArgumentException in case templateId is null @exception IllegalArgumentException in case templateId is blank string
public SubmitJobBuilder templateId(String templateId) {
        if (templateId == null) {
            throw new IllegalArgumentException("templateId can not be null");
        }
        if (templateId.replace(" ", "").isEmpty()) {
            throw new IllegalArgumentException("templateId can not be empty string");
        }
        this.templateId = templateId;
        return this;
    }
public SubmitJobBuilder templateId ( String templateId ) { if ( templateId == null ) { throw new IllegalArgumentException ( "templateId can not be null" ) ; } if ( templateId . replace ( " " , "" ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "templateId can not be empty string" ) ; } this . templateId = templateId ; return this ; }
Set id of job template used for submitting nad handling job.
Set id of job template used for submitting nad handling job .