}
if ( !endNodeFound ) {
errors.add( new RuleFlowProcessValidationErrorImpl( RuleFlowProcessValidationError.NO_END_NODE ) );
}
for ( final Iterator it = process.getVariables().iterator(); it.hasNext(); ) {
final Variable variable = (Variable) it.next();
if ( variable.getType() == null ) {
errors.add( new RuleFlowProcessValidationErrorImpl( RuleFlowProcessValidationError.VARIABLE_WITHOUT_TYPE, "name = " + variable.getName() ) );
}
}
checkAllNodesConnectedToStart( process,
errors );