Class: Killbill::Plugin::Model::NotificationPluginApiRetryException
- Defined in:
- lib/killbill/gen/plugin-api/notification_plugin_api_retry_exception.rb
Instance Attribute Summary collapse
-
#retry_schedule ⇒ Object
Returns the value of attribute retry_schedule.
Instance Method Summary collapse
-
#initialize ⇒ NotificationPluginApiRetryException
constructor
A new instance of NotificationPluginApiRetryException.
- #to_java ⇒ Object
- #to_ruby(j_obj) ⇒ Object
Constructor Details
#initialize ⇒ NotificationPluginApiRetryException
Returns a new instance of NotificationPluginApiRetryException.
37 38 |
# File 'lib/killbill/gen/plugin-api/notification_plugin_api_retry_exception.rb', line 37 def initialize() end |
Instance Attribute Details
#retry_schedule ⇒ Object
Returns the value of attribute retry_schedule.
35 36 37 |
# File 'lib/killbill/gen/plugin-api/notification_plugin_api_retry_exception.rb', line 35 def retry_schedule @retry_schedule end |
Instance Method Details
#to_java ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'lib/killbill/gen/plugin-api/notification_plugin_api_retry_exception.rb', line 40 def to_java() # conversion for retry_schedule [type = java.util.List] tmp = java.util.ArrayList.new (@retry_schedule || []).each do |m| tmp.add(m) end @retry_schedule = tmp Java::org.killbill.billing.notification.plugin.api.NotificationPluginApiRetryException.new(@retry_schedule) end |
#to_ruby(j_obj) ⇒ Object
50 51 52 53 54 55 56 57 58 59 |
# File 'lib/killbill/gen/plugin-api/notification_plugin_api_retry_exception.rb', line 50 def to_ruby(j_obj) # conversion for retry_schedule [type = java.util.List] @retry_schedule = j_obj.retry_schedule tmp = [] (@retry_schedule || []).each do |m| tmp << m end @retry_schedule = tmp self end |