protected boolean doFirstValidationPass ( final ProcessorData processorData ) { final ContentSpec contentSpec = processorData . getContentSpec ( ) ; LOG . info ( "Starting first validation pass..." ) ; // Validate the content spec syntax if ( ! validator . preValidateContentSpec ( contentSpec ) ) { log . error ( ProcessorConstants . ERROR_INVALID_CS_MSG ) ; return false ; } return true ; }
Does the first validation pass on the content spec which does the core validation without doing any rest calls .