Module: Jenkins::Plugin::Proxy::Customs
- Defined in:
- lib/jenkins/plugin/proxy.rb
Overview
Convenience methods for converting from Ruby API to Java API objects and back
Instance Method Summary collapse
-
#export(object) ⇒ Object
convert an internal Ruby object into a Java proxy that is free to roam about Jenkins-land.
-
#import(object) ⇒ Object
convert an external Java object into a Ruby friendly object.
Instance Method Details
#export(object) ⇒ Object
convert an internal Ruby object into a Java proxy that is free to roam about Jenkins-land
76 77 78 |
# File 'lib/jenkins/plugin/proxy.rb', line 76 def export(object) @plugin.export(object) end |
#import(object) ⇒ Object
convert an external Java object into a Ruby friendly object
70 71 72 |
# File 'lib/jenkins/plugin/proxy.rb', line 70 def import(object) @plugin.import(object) end |