Method: OFlow::Task#_validation_errors
- Defined in:
- lib/oflow/task.rb
#_validation_errors ⇒ Object
421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'lib/oflow/task.rb', line 421 def _validation_errors() errors = [] @links.each_value { |lnk| _check_link(lnk, errors) } unless (outs = @actor.outputs()).nil? outs.each do |spec| if find_link(spec.dest).nil? errors << ValidateError::Problem.new(full_name, ValidateError::Problem::MISSING_ERROR, "Missing link for '#{spec.dest}'.") end end end errors end |