src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmRecorder.java
@SuppressWarnings("unused")
        public FormValidation doCheckJobTimeoutMinutes(@QueryParameter Integer jobTimeoutMinutes) {
            if (jobTimeoutMinutes == null) {
                return FormValidation.error("Required");
            } else if (jobTimeoutMinutes < MIN_EXECUTION_TIMEOUT || jobTimeoutMinutes > MAX_EXECUTION_TIMEOUT) {
                return FormValidation.error("The maximum execution timeout per device should not be greater than 600 or smaller than 5 minutes.");
            }
            return FormValidation.ok();
        }
/**
         * Validate the user entered execution time.
         *
         * @param jobTimeoutMinutes The Int of the limit execute time the user typed.
         * @return Whether or not the form was ok.
         */
Validate the user entered execution time.
@param jobTimeoutMinutes The Int of the limit execute time the user typed.
@return Whether or not the form was ok.
Validate the user entered execution time . @param jobTimeoutMinutes The Int of the limit execute time the user typed . @return Whether or not the form was ok .
@SuppressWarnings("unused")
        public FormValidation doCheckJobTimeoutMinutes(@QueryParameter Integer jobTimeoutMinutes) {
            if (jobTimeoutMinutes == null) {
                return FormValidation.error("Required");
            } else if (jobTimeoutMinutes < MIN_EXECUTION_TIMEOUT || jobTimeoutMinutes > MAX_EXECUTION_TIMEOUT) {
                return FormValidation.error("The maximum execution timeout per device should not be greater than 600 or smaller than 5 minutes.");
            }
            return FormValidation.ok();
        }
@ SuppressWarnings ( "unused" ) public FormValidation doCheckJobTimeoutMinutes ( @ QueryParameter Integer jobTimeoutMinutes ) { if ( jobTimeoutMinutes == null ) { return FormValidation . error ( "Required" ) ; } else if ( jobTimeoutMinutes < MIN_EXECUTION_TIMEOUT || jobTimeoutMinutes > MAX_EXECUTION_TIMEOUT ) { return FormValidation . error ( "The maximum execution timeout per device should not be greater than 600 or smaller than 5 minutes." ) ; } return FormValidation . ok ( ) ; }
Validate the user entered execution time.
Validate the user entered execution time .