src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmRecorder.java
@SuppressWarnings("unused")
        public FormValidation doCheckDevicePoolName(@QueryParameter String devicePoolName) {
            if (devicePoolName == null || devicePoolName.isEmpty()) {
                return FormValidation.error("Required!");
            }
            return FormValidation.ok();
        }
/**
         * Validate the user selected device pool.
         *
         * @param devicePoolName The currently selected device pool name.
         * @return Whether or not the form was ok.
         */
Validate the user selected device pool.
@param devicePoolName The currently selected device pool name.
@return Whether or not the form was ok.
Validate the user selected device pool . @param devicePoolName The currently selected device pool name . @return Whether or not the form was ok .
@SuppressWarnings("unused")
        public FormValidation doCheckDevicePoolName(@QueryParameter String devicePoolName) {
            if (devicePoolName == null || devicePoolName.isEmpty()) {
                return FormValidation.error("Required!");
            }
            return FormValidation.ok();
        }
@ SuppressWarnings ( "unused" ) public FormValidation doCheckDevicePoolName ( @ QueryParameter String devicePoolName ) { if ( devicePoolName == null || devicePoolName . isEmpty ( ) ) { return FormValidation . error ( "Required!" ) ; } return FormValidation . ok ( ) ; }
Validate the user selected device pool.
Validate the user selected device pool .