updated to keep up with the changes in the core.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1834 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-01-20 07:10:24 +00:00
1 parent 7ac3afc115
commit eb4c90c7cb
1 file changed
+5
@@ -363,6 +363,11 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
return "";
}
/**
* Gets just the immediate children of {@link Hudson}.
*
* @see #getAllItems(Class)
*/
public List<TopLevelItem> getItems() {
return new ArrayList<TopLevelItem>(items.values());
}