Class: NotifierPlugin::BaseTaskHandlerType
Instance Attribute Summary
#required_attributes
Instance Method Summary
collapse
#gen_cfg_handler_type, #generate_attr_map, #initialize
Instance Method Details
#gen_cfg_handler_parameters(handler, join, attrMap, cell, adpt_gen) ⇒ Object
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
|
# File 'lib/tecsgen/plugin/NotifierPlugin.rb', line 552
def gen_cfg_handler_parameters(handler, join, attrMap, cell, adpt_gen)
taskCell = join.get_cell
id_attr_join = taskCell.get_join_list.get_item(:id)
id_attr = join.get_rhs_cell.get_celltype.find(:id)
if id_attr_join
id = id_attr_join.get_rhs.to_s
else
id = id_attr.get_initializer.to_s
end
name_array = taskCell.get_celltype.get_name_array(taskCell)
id = taskCell.get_celltype.subst_name(id, name_array)
return [id]
end
|
#might_fail ⇒ Object
571
572
573
|
# File 'lib/tecsgen/plugin/NotifierPlugin.rb', line 571
def might_fail
return true
end
|
#validate_join(handler, cell, join, *args) ⇒ Object
547
548
549
550
|
# File 'lib/tecsgen/plugin/NotifierPlugin.rb', line 547
def validate_join(handler, cell, join, *args)
return super(handler, cell, join, *args) &&
join && join.get_rhs_cell.get_celltype.get_name == :tTask
end
|