mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-31 13:35:19 +00:00
Merging HUDSON-1467
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35828 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
de7f60f5f1
commit
63a8bc9255
32 files changed
+857
-47
No files matched your search
@@ -67,6 +67,8 @@ import hudson.util.Iterators;
|
||||
import hudson.scm.SCM;
|
||||
import hudson.scm.SCMDescriptor;
|
||||
import hudson.util.Secret;
|
||||
import hudson.views.MyViewsTabBar;
|
||||
import hudson.views.ViewsTabBar;
|
||||
import org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken;
|
||||
import org.apache.commons.jelly.JellyContext;
|
||||
import org.apache.commons.jelly.JellyTagException;
|
||||
@@ -670,6 +672,14 @@ public class Functions {
|
||||
return ParameterDefinition.all();
|
||||
}
|
||||
|
||||
public static List<Descriptor<ViewsTabBar>> getViewsTabBarDescriptors() {
|
||||
return ViewsTabBar.all();
|
||||
}
|
||||
|
||||
public static List<Descriptor<MyViewsTabBar>> getMyViewsTabBarDescriptors() {
|
||||
return MyViewsTabBar.all();
|
||||
}
|
||||
|
||||
public static List<NodePropertyDescriptor> getNodePropertyDescriptors(Class<? extends Node> clazz) {
|
||||
List<NodePropertyDescriptor> result = new ArrayList<NodePropertyDescriptor>();
|
||||
Collection<NodePropertyDescriptor> list = (Collection) Hudson.getInstance().getDescriptorList(NodeProperty.class);
|
||||
|
||||
Reference in new issue
Block a user