public List<RepositoryPlugin> getRepositories() throws Exception { if (data.repositories == null) { data.repositories = getPlugins(RepositoryPlugin.class); for (RepositoryPlugin repo : data.repositories) { if (repo instanceof Prepare) { ((Prepare) repo).prepare(); } } } return data.repositories; }
public List<RepositoryPlugin> getRepositories() throws Exception { if (data.repositories == null) { data.repositories = getPlugins(RepositoryPlugin.class); for (RepositoryPlugin repo : data.repositories) { if (repo instanceof Prepare) { ((Prepare) repo).prepare(); } } } return data.repositories; }
/** * Report details of this workspace */ @Override public void report(Map<String, Object> table) throws Exception { super.report(table); table.put("Workspace", toString()); table.put("Plugins", getPlugins(Object.class)); table.put("Repos", getRepositories()); table.put("Projects in build order", getBuildOrder()); }
public void bracket(boolean begin) { List<BndListener> listeners = getPlugins(BndListener.class); for (BndListener l : listeners) try { if (begin) l.begin(); else l.end(); } catch (Exception e) { // who cares? } }
/** * Report details of this workspace */ public void report(Map<String,Object> table) throws Exception { super.report(table); table.put("Workspace", toString()); table.put("Plugins", getPlugins(Object.class)); table.put("Repos", getRepositories()); table.put("Projects in build order", getBuildOrder()); }
/** * Actions to perform before a full workspace release. This is executed for * projects that describe the distribution */ public void preRelease() { for (ReleaseBracketingPlugin rp : getWorkspace().getPlugins(ReleaseBracketingPlugin.class)) { rp.begin(this); } }
/** * Actions to perform after a full workspace release. This is executed for * projects that describe the distribution */ public void postRelease() { for (ReleaseBracketingPlugin rp : getWorkspace().getPlugins(ReleaseBracketingPlugin.class)) { rp.end(this); } }
/** * Actions to perform before a full workspace release. This is executed for * projects that describe the distribution */ public void preRelease() { for (ReleaseBracketingPlugin rp : getWorkspace().getPlugins(ReleaseBracketingPlugin.class)) { rp.begin(this); } }
/** * Report details of this workspace */ public void report(Map<String,Object> table) throws Exception { super.report(table); table.put("Workspace", toString()); table.put("Plugins", getPlugins(Object.class)); table.put("Repos", getRepositories()); table.put("Projects in build order", getBuildOrder()); }
/** * Actions to perform after a full workspace release. This is executed for * projects that describe the distribution */ public void postRelease() { for (ReleaseBracketingPlugin rp : getWorkspace().getPlugins(ReleaseBracketingPlugin.class)) { rp.end(this); } }
public void bracket(boolean begin) { List<BndListener> listeners = getPlugins(BndListener.class); for (BndListener l : listeners) try { if (begin) l.begin(); else l.end(); } catch (Exception e) { // who cares? } }
public void bracket(boolean begin) { List<BndListener> listeners = getPlugins(BndListener.class); for (BndListener l : listeners) try { if (begin) l.begin(); else l.end(); } catch (Exception e) { // who cares? } }
public void bracket(boolean begin) { List<BndListener> listeners = getPlugins(BndListener.class); for (BndListener l : listeners) try { if (begin) l.begin(); else l.end(); } catch (Exception e) { // who cares? } }
/** * Report details of this workspace */ @Override public void report(Map<String, Object> table) throws Exception { super.report(table); table.put("Workspace", toString()); table.put("Plugins", getPlugins(Object.class)); table.put("Repos", getRepositories()); table.put("Projects in build order", getBuildOrder()); }
void removeProject(Project p) throws Exception { if (p.isCnf()) return; synchronized (models) { models.remove(p.getName()); } for ( LifeCyclePlugin lp : getPlugins(LifeCyclePlugin.class)) { lp.delete(p); } }
void removeProject(Project p) throws Exception { if (p.isCnf()) return; synchronized (models) { models.remove(p.getName()); } for ( LifeCyclePlugin lp : getPlugins(LifeCyclePlugin.class)) { lp.delete(p); } }
void removeProject(Project p) throws Exception { if (p.isCnf()) return; for (LifeCyclePlugin lp : getPlugins(LifeCyclePlugin.class)) { lp.delete(p); } projects.refresh(); }
void removeProject(Project p) throws Exception { if (p.isCnf()) return; for (LifeCyclePlugin lp : getPlugins(LifeCyclePlugin.class)) { lp.delete(p); } projects.refresh(); }
public void refreshPlugins() throws Exception { List<Refreshable> rps = getWorkspace().getPlugins(Refreshable.class); for (Refreshable rp : rps) { if (rp.refresh()) { File dir = rp.getRoot(); refreshFile(dir); } } }
public void refreshPlugins() throws Exception { List<Refreshable> rps = getWorkspace().getPlugins(Refreshable.class); for (Refreshable rp : rps) { if (rp.refresh()) { File dir = rp.getRoot(); refreshFile(dir); } } }