public static String validate ( ActionSequence seq ) { if ( StringUtil . isBlank ( seq . name ) ) { return "Missing 'name' definition." ; } if ( seq . framesPerSecond == 0 ) { return "Missing 'framesPerSecond' definition." ; } if ( seq . orients == null ) { return "Missing 'orients' definition." ; } return null ; }
Validates that all necessary fields have been parsed and set in this action sequence object and are valid .