src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmRecorder.java
@SuppressWarnings("unused")
        public FormValidation doCheckAppArtifact(@QueryParameter  Boolean ifWebApp, @QueryParameter String appArtifact) {
            if (!ifWebApp && (appArtifact == null || appArtifact.isEmpty())) {
                return FormValidation.error("Required!");
            }
            return FormValidation.ok();
        }
/**
         * Validate the user entered artifact for the application.
         *
         * @param appArtifact The String of the application artifact.
         * @return Whether or not the form was ok.
         */
Validate the user entered artifact for the application.
@param appArtifact The String of the application artifact.
@return Whether or not the form was ok.
Validate the user entered artifact for the application . @param appArtifact The String of the application artifact . @return Whether or not the form was ok .
@SuppressWarnings("unused")
        public FormValidation doCheckAppArtifact(@QueryParameter  Boolean ifWebApp, @QueryParameter String appArtifact) {
            if (!ifWebApp && (appArtifact == null || appArtifact.isEmpty())) {
                return FormValidation.error("Required!");
            }
            return FormValidation.ok();
        }
@ SuppressWarnings ( "unused" ) public FormValidation doCheckAppArtifact ( @ QueryParameter Boolean ifWebApp , @ QueryParameter String appArtifact ) { if ( ! ifWebApp && ( appArtifact == null || appArtifact . isEmpty ( ) ) ) { return FormValidation . error ( "Required!" ) ; } return FormValidation . ok ( ) ; }
Validate the user entered artifact for the application.
Validate the user entered artifact for the application .