org.hudsonci.plugins.blacklist.internal
Class DescriptorLocator
java.lang.Object
org.hudsonci.plugins.blacklist.internal.DescriptorLocator
@Named
@Singleton
public class DescriptorLocator
- extends Object
Methods to find descriptors.
Compatible with the same methods in hudson.model.Hudson
TODO: may want to delegate all the methods that call hudson.model.Hudson.findDescriptor
- Author:
- Jamie Whitehouse
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDescriptor
public hudson.model.Descriptor getDescriptor(String className)
getDescriptorByName
public hudson.model.Descriptor getDescriptorByName(String className)
getDescriptor
public hudson.model.Descriptor getDescriptor(Class<? extends hudson.model.Describable> type)
getDescriptorOrDie
public hudson.model.Descriptor getDescriptorOrDie(Class<? extends hudson.model.Describable> type)
getDescriptorByType
public <T extends hudson.model.Descriptor> T getDescriptorByType(Class<T> type)
getDescriptorList
public <T extends hudson.model.Describable<T>,D extends hudson.model.Descriptor<T>> hudson.DescriptorExtensionList<T,D> getDescriptorList(Class<T> type)
Copyright © 2004-2012 Hudson. All Rights Reserved.