hooking up Stapler correctly
This commit is contained in:
parent
f5d973124a
commit
440fffadcf
|
@ -28,6 +28,12 @@ module Jenkins
|
|||
@pluginid = @plugin.name
|
||||
end
|
||||
|
||||
# tell Stapler to go look for views from the wrapped object
|
||||
include Java.org.kohsuke.stapler.StaplerProxy
|
||||
def getTarget
|
||||
@object
|
||||
end
|
||||
|
||||
# Make sure that proxy classes do not try to persist the plugin parameter.
|
||||
# when serializing this proxy to XStream. It will be reconstructed with
|
||||
# [Unmarshal#read_completed]
|
||||
|
|
Loading…
Reference in New Issue