本文整理了Java中hudson.model.Hudson.getDescriptorList()
方法的一些代码示例,展示了Hudson.getDescriptorList()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hudson.getDescriptorList()
方法的具体详情如下:
包路径:hudson.model.Hudson
类名称:Hudson
方法名:getDescriptorList
[英]Returns ExtensionList that retains the discovered Descriptor instances for the given kind of Describable.
[中]返回ExtensionList,它为给定类型的可描述项保留发现的描述符实例。
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
/**
* Returns all the registered {@link AuthorizationStrategy} descriptors.
*/
public static DescriptorExtensionList<AuthorizationStrategy,Descriptor<AuthorizationStrategy>> all() {
return Hudson.getInstance().<AuthorizationStrategy,Descriptor<AuthorizationStrategy>>getDescriptorList(AuthorizationStrategy.class);
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
/**
* Returns all the registered {@link ViewsTabBar} descriptors.
*/
public static DescriptorExtensionList<ViewsTabBar, Descriptor<ViewsTabBar>> all() {
return Hudson.getInstance().<ViewsTabBar, Descriptor<ViewsTabBar>>getDescriptorList(ViewsTabBar.class);
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
/**
* Returns all the registered {@link NodeDescriptor} descriptors.
*/
public static DescriptorExtensionList<Node,NodeDescriptor> all() {
return Hudson.getInstance().<Node,NodeDescriptor>getDescriptorList(Node.class);
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
/**
* Returns all the registered {@link AxisDescriptor}s.
*/
public static DescriptorExtensionList<Axis,AxisDescriptor> all() {
return Hudson.getInstance().<Axis,AxisDescriptor>getDescriptorList(Axis.class);
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
/**
* Returns all the registered {@link Trigger} descriptors.
*/
public static DescriptorExtensionList<Trigger<?>,TriggerDescriptor> all() {
return (DescriptorExtensionList)Hudson.getInstance().getDescriptorList(Trigger.class);
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link NativeAccessSupport} descriptors.
*/
public static DescriptorExtensionList<NativeZfsSupport, Descriptor<NativeZfsSupport>> all() {
return Hudson.getInstance().<NativeZfsSupport, Descriptor<NativeZfsSupport>>getDescriptorList(NativeZfsSupport.class);
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link BuildWrapper} descriptors.
*/
// for compatibility we can't use BuildWrapperDescriptor
public static DescriptorExtensionList<BuildWrapper, Descriptor<BuildWrapper>> all() {
// use getDescriptorList and not getExtensionList to pick up legacy instances
return Hudson.getInstance().<BuildWrapper, Descriptor<BuildWrapper>>getDescriptorList(BuildWrapper.class);
}
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link ConsoleAnnotationDescriptor}
* descriptors.
*/
public static DescriptorExtensionList<ConsoleNote<?>, ConsoleAnnotationDescriptor> all() {
return (DescriptorExtensionList) Hudson.getInstance().getDescriptorList(ConsoleNote.class);
}
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link NodeDescriptor} descriptors.
*/
public static DescriptorExtensionList<Node, NodeDescriptor> all() {
return Hudson.getInstance().<Node, NodeDescriptor>getDescriptorList(Node.class);
}
/**
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link NativeAccessSupport} descriptors.
*/
public static DescriptorExtensionList<NativeUnixSupport, Descriptor<NativeUnixSupport>> all() {
return Hudson.getInstance().getDescriptorList(NativeUnixSupport.class);
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link SecurityRealm} descriptors.
*/
public static DescriptorExtensionList<SecurityRealm, Descriptor<SecurityRealm>> all() {
return Hudson.getInstance().<SecurityRealm, Descriptor<SecurityRealm>>getDescriptorList(SecurityRealm.class);
}
private static final Logger LOGGER = Logger.getLogger(SecurityRealm.class.getName());
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Lists up all the registered {@link ToolPropertyDescriptor}s in the
* system.
*
* @see ToolDescriptor#getPropertyDescriptors()
*/
public static DescriptorExtensionList<ToolProperty<?>, ToolPropertyDescriptor> all() {
return (DescriptorExtensionList) Hudson.getInstance().getDescriptorList(ToolProperty.class);
}
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link SCMDescriptor}s.
*/
public static DescriptorExtensionList<SCM, SCMDescriptor<?>> all() {
return Hudson.getInstance().<SCM, SCMDescriptor<?>>getDescriptorList(SCM.class);
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link ViewDescriptor}s.
*/
public static DescriptorExtensionList<View, ViewDescriptor> all() {
return Hudson.getInstance().<View, ViewDescriptor>getDescriptorList(View.class);
}
public static final Comparator<View> SORTER = new Comparator<View>() {
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Lists up all the registered {@link LabelAtomPropertyDescriptor}s in the
* system.
*/
public static DescriptorExtensionList<LabelAtomProperty, LabelAtomPropertyDescriptor> all() {
return Hudson.getInstance().<LabelAtomProperty, LabelAtomPropertyDescriptor>getDescriptorList(LabelAtomProperty.class);
}
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Returns all the registered {@link ListViewColumn} descriptors.
*/
public static DescriptorExtensionList<MyViewsTabBar, Descriptor<MyViewsTabBar>> all() {
return Hudson.getInstance().<MyViewsTabBar, Descriptor<MyViewsTabBar>>getDescriptorList(MyViewsTabBar.class);
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
/**
* Returns all the registered {@link AuthorizationStrategy} descriptors.
*/
public static DescriptorExtensionList<AuthorizationStrategy,Descriptor<AuthorizationStrategy>> all() {
return Hudson.getInstance().<AuthorizationStrategy,Descriptor<AuthorizationStrategy>>getDescriptorList(AuthorizationStrategy.class);
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
/**
* Returns all the descriptors that produce types assignable to the item type.
*/
public List<? extends Descriptor> getApplicableDescriptors() {
return Hudson.getInstance().getDescriptorList(clazz);
}
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
/**
* Returns all the registered {@link CaptchaSupport} descriptors.
*/
public static DescriptorExtensionList<CaptchaSupport, Descriptor<CaptchaSupport>> all() {
return Hudson.getInstance().<CaptchaSupport, Descriptor<CaptchaSupport>>getDescriptorList(CaptchaSupport.class);
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
/**
* Returns all the registered {@link AxisDescriptor}s.
*/
public static DescriptorExtensionList<Axis,AxisDescriptor> all() {
return Hudson.getInstance().<Axis,AxisDescriptor>getDescriptorList(Axis.class);
}
内容来源于网络,如有侵权,请联系作者删除!