pbs-middleware-client/src/main/java/cz/muni/ll/middleware/client/jobs/domain/submitRequest/SubmitJobBuilder.java
/**
     * Set job state check interval. It interval how often should middleware check the status of submitted job.
     * Optional. In case interval is not set, server default interval will be used.
     * In case interval is lower than default server interval, default server interval will be used.
     *
     * @param       jobStateCheckInterval  job state check interval which will be
     * @return      a reference to this object.
     * @exception   IllegalArgumentException in case {@code jobStateCheckInterval} is {@code null}
     * @exception   IllegalArgumentException in case {@code jobStateCheckInterval} hsd negative value
     * @exception   IllegalArgumentException in case {@code jobStateCheckInterval} has zero value
     */
Set job state check interval. It interval how often should middleware check the status of submitted job.
Optional. In case interval is not set, server default interval will be used.
In case interval is lower than default server interval, default server interval will be used.

@param       jobStateCheckInterval  job state check interval which will be
@return      a reference to this object.
@exception   IllegalArgumentException in case  jobStateCheckInterval is  null
@exception   IllegalArgumentException in case  jobStateCheckInterval hsd negative value
@exception   IllegalArgumentException in case  jobStateCheckInterval has zero value
Set job state check interval . It interval how often should middleware check the status of submitted job . Optional . In case interval is not set server default interval will be used . In case interval is lower than default server interval default server interval will be used . @param jobStateCheckInterval job state check interval which will be @return a reference to this object . @exception IllegalArgumentException in case jobStateCheckInterval is null @exception IllegalArgumentException in case jobStateCheckInterval hsd negative value @exception IllegalArgumentException in case jobStateCheckInterval has zero value
@Deprecated
    @NotSupported(reason = "Deprecated. Not implemented on server side!")
    public SubmitJobBuilder jobStateCheckInterval(Duration jobStateCheckInterval) {
        if (jobStateCheckInterval == null) {
            throw new IllegalArgumentException("Job state check interval can not be null");
        }
        if (jobStateCheckInterval.isNegative() || jobStateCheckInterval.isZero()) {
            throw new IllegalArgumentException("Job state check interval can not be negative or equals to 0!");
        }
        return this;
    }
@ Deprecated @ NotSupported ( reason = "Deprecated. Not implemented on server side!" ) public SubmitJobBuilder jobStateCheckInterval ( Duration jobStateCheckInterval ) { if ( jobStateCheckInterval == null ) { throw new IllegalArgumentException ( "Job state check interval can not be null" ) ; } if ( jobStateCheckInterval . isNegative ( ) || jobStateCheckInterval . isZero ( ) ) { throw new IllegalArgumentException ( "Job state check interval can not be negative or equals to 0!" ) ; } return this ; }
Set job state check interval.
Set job state check interval .
//        this.jobStateCheckInterval = jobStateCheckInterval.toString();