Package com.nirima.jenkins.repo

Examples of com.nirima.jenkins.repo.RepositoryElement


    public IDavItem getItem(IDavContext ctxt, String path) {

        try
        {
            RepositoryElement currentItem = rootElement;


            // Split into sections
            String[] pathElements = path.substring(1).split("/");
View Full Code Here


        File file = new File(this.getClass().getResource("/tools").getFile());
        File[] listFiles = file.listFiles();
        if( listFiles != null) {
            for( File f : listFiles )
            {
               RepositoryElement e1 =  new FileDirectoryRepositoryItem(null, f);

               elements.add( e1 );
            }
        }
View Full Code Here

                    public void visitModuleSet(MavenModuleSetBuild run)
                    {
                        BuildData bd = run.getAction(BuildData.class);
                        if (bd != null && run.getResult() == Result.SUCCESS) {
                            String sha1 = bd.getLastBuiltRevision().getSha1String();
                            RepositoryElement content = new ProjectBuildRepositoryRoot(AllSHA1RepositoryRoot.this,run,sha1);
                            add(content, false);

                        }
                    }
                });
View Full Code Here

        {
            int idx = path.indexOf("/");
            String dir = path.substring(0, idx);
            String rest = path.substring(idx+1);

            RepositoryElement dirElement = getChild(dir); // Get directory element
            if( dirElement == null )
            {
                // It doesn't already exist so create it:
                dirElement = add(new DirectoryRepositoryItem(this, dir), allowOverwrite);
            }
View Full Code Here

TOP

Related Classes of com.nirima.jenkins.repo.RepositoryElement

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.