Merging first round of UI changes require to enable plugable slave start mechanisms (which will be required in order to allow VMware/Xen slave starting)

Also splitting the configuration of slaves out from the configuration of everything else.

Hopefully this should not break stuff!

(Works for me!)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9328 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
stephenconnolly committed 2008-05-16 12:07:35 +00:00
1 parent ea4eecaf38
commit 948b6c0c33
21 files changed
+647 -194

No files matched your search

+9 -15
View File
@@ -1,21 +1,7 @@
package hudson;
import hudson.maven.ExecutedMojo;
import hudson.model.AbstractProject;
import hudson.model.Action;
import hudson.model.Descriptor;
import hudson.model.Hudson;
import hudson.model.Item;
import hudson.model.ItemGroup;
import hudson.model.Items;
import hudson.model.Job;
import hudson.model.JobPropertyDescriptor;
import hudson.model.ModelObject;
import hudson.model.Node;
import hudson.model.Project;
import hudson.model.Run;
import hudson.model.TopLevelItem;
import hudson.model.View;
import hudson.model.*;
import hudson.search.SearchableModelObject;
import hudson.tasks.BuildStep;
import hudson.tasks.BuildStepDescriptor;
@@ -261,6 +247,10 @@ public class Functions {
return Node.Mode.values();
}
public static Node.Availability[] getNodeAvailabilities() {
return Node.Availability.values();
}
public static String getProjectListString(List<Project> projects) {
return Items.toNameList(projects);
}
@@ -507,6 +497,10 @@ public class Functions {
return BuildStepDescriptor.filter(BuildStep.PUBLISHERS, project.getClass());
}
public static List<Descriptor<SlaveStartMethod>> getSlaveStartMethodDescriptors() {
return SlaveStartMethod.LIST;
}
/**
* Computes the path to the icon of the given action
* from the context path.