Class: NotifierPlugin::SendErrorCodeToDataqueueHandlerType
- Inherits:
-
DataqueueHandlerType
- Object
- BaseHandlerType
- DataqueueHandlerType
- NotifierPlugin::SendErrorCodeToDataqueueHandlerType
- Defined in:
- lib/tecsgen/plugin/NotifierPlugin.rb
Instance Attribute Summary
Attributes inherited from BaseHandlerType
Instance Method Summary collapse
- #gen_cfg_handler_type(handler) ⇒ Object
-
#initialize ⇒ SendErrorCodeToDataqueueHandlerType
constructor
A new instance of SendErrorCodeToDataqueueHandlerType.
- #validate_join(handler, cell, join, *args) ⇒ Object
Methods inherited from DataqueueHandlerType
#gen_cfg_handler_parameters, #might_fail
Methods inherited from BaseHandlerType
#gen_cfg_handler_parameters, #generate_attr_map, #might_fail
Constructor Details
#initialize ⇒ SendErrorCodeToDataqueueHandlerType
Returns a new instance of SendErrorCodeToDataqueueHandlerType.
853 854 855 |
# File 'lib/tecsgen/plugin/NotifierPlugin.rb', line 853 def initialize super end |
Instance Method Details
#gen_cfg_handler_type(handler) ⇒ Object
861 862 863 864 865 866 |
# File 'lib/tecsgen/plugin/NotifierPlugin.rb', line 861 def gen_cfg_handler_type(handler) case handler when ERROR_HANDLER then return "TENFY_SNDDTQ" else raise "unknown handler #{handler}" end end |
#validate_join(handler, cell, join, *args) ⇒ Object
857 858 859 |
# File 'lib/tecsgen/plugin/NotifierPlugin.rb', line 857 def validate_join(handler, cell, join, *args) return super(handler, cell, join, *args) && handler == ERROR_HANDLER end |