introduced more stories around Item/ItemGroup and full names.

updating the rest of the code to work with this.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1826 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-01-20 06:31:16 +00:00
1 parent 95a7082efe
commit db430b3896
21 files changed
+325 -172

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ import hudson.model.ModelObject;
import hudson.model.Node;
import hudson.model.Project;
import hudson.model.Run;
import hudson.model.Items;
import org.kohsuke.stapler.Ancestor;
import org.kohsuke.stapler.StaplerRequest;
@@ -162,7 +163,7 @@ public class Functions {
}
public static String getProjectListString(List<Project> projects) {
return Project.toNameList(projects);
return Items.toNameList(projects);
}
public static Object ifThenElse(boolean cond, Object thenValue, Object elseValue) {