void function ( final ResourceModelComponent arg0 ) { Errors . process ( new Runnable ( ) { @ Override public void run ( ) { Errors . mark ( ) ; validateWithErrors ( arg0 ) ; issueList . addAll ( ModelErrors . getErrorsAsResourceModelIssues ( true ) ) ; Errors . unmark ( ) ; } } ) ; }
the validate method validates a component and adds possible issues found to it 's list . the list of issues could be then retrieved via getissuelist method . concode_field_sep List<ResourceModelVisitor> validators concode_elem_sep List<ResourceModelIssue> issueList concode_field_sep boolean fatalIssuesFound concode_elem_sep void validateWithErrors concode_elem_sep void cleanIssueList concode_elem_sep List<ResourceModelIssue> getIssueList