Package com.nirima.jenkins.repo.util

Examples of com.nirima.jenkins.repo.util.IDirectoryPopulator


        this.item = item;
    }

    @Override
    protected IDirectoryPopulator getPopulator() {
       return new IDirectoryPopulator() {
            public void populate(final DirectoryRepositoryItem directory) {
                File[] listFiles = item.listFiles();
                if( listFiles == null )
                    return;
                for(File child : listFiles)
View Full Code Here


    public AllSHA1RepositoryRoot(RepositoryDirectory parent) {
        super(parent, "SHA1");
    }

     protected IDirectoryPopulator getPopulator() {
       return new IDirectoryPopulator() {
            public void populate(final DirectoryRepositoryItem directory) {
                HudsonWalker.traverseProjectsAndBuilds(new HudsonVisitor()
                {
                    public void visitModuleSet(MavenModuleSetBuild run)
                    {
View Full Code Here

        super(parent, "everything");
    }

    protected IDirectoryPopulator getPopulator()
    {
        return new IDirectoryPopulator() {
            public void populate(DirectoryRepositoryItem directory) {
                HudsonWalker.traverse(new DirectoryPopulatorVisitor(directory,false));
            }
        };
    }
View Full Code Here

        return name;
    }

    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);
                }
            })
       );
View Full Code Here

TOP

Related Classes of com.nirima.jenkins.repo.util.IDirectoryPopulator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.