ruby
Class RubyExtensionFinder

java.lang.Object
  extended by hudson.ExtensionFinder
      extended by ruby.RubyExtensionFinder
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class RubyExtensionFinder
extends hudson.ExtensionFinder

Presents Ruby extensions to Jenkins. Whenever a ruby plugin loads, it scans its codebase and finds all of the objects which implement Jenkins extensions points (there can be any number of these per plugin) Sometime later, whenever Jenkins is asking about a particular extension type, like a Publisher on BuildWrapper, it will query this ExtensionFinder among others. This finder then delegates to the ruby plugin to see if it has any extensions of the requested type.

See Also:
ExtensionPoint

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.ExtensionFinder
hudson.ExtensionFinder.Sezpoz
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
RubyExtensionFinder()
           
 
Method Summary
<T> java.util.Collection<hudson.ExtensionComponent<T>>
find(java.lang.Class<T> type, hudson.model.Hudson hudson)
           
 
Methods inherited from class hudson.ExtensionFinder
_find, findExtensions, scout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyExtensionFinder

public RubyExtensionFinder()
Method Detail

find

public <T> java.util.Collection<hudson.ExtensionComponent<T>> find(java.lang.Class<T> type,
                                                                   hudson.model.Hudson hudson)
Specified by:
find in class hudson.ExtensionFinder


Copyright © 2004-2011. All Rights Reserved.