Module: Jenkins::Plugin::Proxy::Customs
- Included in:
- InstanceMethods
- 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
89 90 91 |
# File 'lib/jenkins/plugin/proxy.rb', line 89 def export(object) @plugin.export(object) end |
#import(object) ⇒ Object
convert an external Java object into a Ruby friendly object
83 84 85 |
# File 'lib/jenkins/plugin/proxy.rb', line 83 def import(object) @plugin.import(object) end |