Package hudson.model

Examples of hudson.model.ItemGroup


         */
        @Extension
        public static final class RenameListener extends ItemListener {
            @Override
            public void onRenamed(Item item, String oldName, String newName) {
                ItemGroup context = item.getParent();
                String full = isEmpty(context.getFullName()) ? "" : context.getFullName() + '/';
                String fullOldName = full + oldName;
                String fullNewName = full + newName;
                for (Project<?,?> p : Jenkins.getInstance().getAllItems(Project.class)) {
                    boolean changed = false;
                    //iterate over post build triggers
View Full Code Here


        if(path!=nullreturn path;

        Item i=p;
        String url = "";
        while(true) {
            ItemGroup ig = i.getParent();
            url = i.getShortUrl()+url;

            if(ig==Hudson.getInstance()) {
                assert i instanceof TopLevelItem;
                if(view!=null && view.contains((TopLevelItem)i)) {
View Full Code Here

TOP

Related Classes of hudson.model.ItemGroup

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.