public Collection<? extends RepositoryElement> getChildren() {
return Lists.newArrayList(
new SimpleOnDemandItem(this,"repository", new IDirectoryPopulator() {
public void populate(DirectoryRepositoryItem directory) {
HudsonWalker.traverse(new DirectoryPopulatorVisitor(directory,false) ,item);
}
}),
new SimpleOnDemandItem(this,"repositoryChain", new IDirectoryPopulator() {
public void populate(DirectoryRepositoryItem directory) {
HudsonWalker.traverseChain(new DirectoryPopulatorVisitor(directory,false) ,item);
}
})
);
}