Method: Jenkins::Plugin#import
- Defined in:
- lib/jenkins/plugin.rb
#import(object) ⇒ Object
Reflect an Java object coming from Jenkins into the context of this plugin If the object is originally from the ruby plugin, and it was previously exported, then it will unwrap it. Otherwise, it will just use the object as a normal Java object.
165 166 167 |
# File 'lib/jenkins/plugin.rb', line 165 def import(object) @proxies.import object end |