protected boolean doValidationPass(final ProcessorData processorData) {
        // Validate the content specification before doing any rest calls
        if (!doFirstValidationPass(processorData)) {
            return false;
        }

        // Check if the app should be shutdown
        if (isShuttingDown.get()) {
            shutdown.set(true);
            return false;
        }

        // Validate the content specification bug links before doing the post validation as it is a costly operation
        if (!doBugLinkValidationPass(processorData)) {
            log.error(ProcessorConstants.ERROR_INVALID_CS_MSG);
            return false;
        }

        // Check if the app should be shutdown
        if (isShuttingDown.get()) {
            shutdown.set(true);
            return false;
        }

        // Validate the content specification now that we have most of the data from the REST API
        if (!doSecondValidationPass(processorData)) {
            log.error(ProcessorConstants.ERROR_INVALID_CS_MSG);
            return false;
        }

        // Log that the spec is valid
        log.info(ProcessorConstants.INFO_VALID_CS_MSG);

        return true;
    }
protected boolean doValidationPass ( final ProcessorData processorData ) { if ( ! doFirstValidationPass ( processorData ) ) { return false ; } if ( isShuttingDown . get ( ) ) { shutdown . set ( true ) ; return false ; } if ( ! doBugLinkValidationPass ( processorData ) ) { log . error ( ProcessorConstants . ERROR_INVALID_CS_MSG ) ; return false ; } if ( isShuttingDown . get ( ) ) { shutdown . set ( true ) ; return false ; } if ( ! doSecondValidationPass ( processorData ) ) { log . error ( ProcessorConstants . ERROR_INVALID_CS_MSG ) ; return false ; } log . info ( ProcessorConstants . INFO_VALID_CS_MSG ) ; return true ; }
Does a validation pass before processing any data.

@param processorData The data to be used during processing.
@return True if the content spec is valid, otherwise false.