@Override public ChangeLogSet<? extends ChangeLogSet.Entry> parse(Run build, RepositoryBrowser<?> browser, File changelogFile) throws IOException, SAXException { return ChangeLogSet.createEmpty(build); }
@Deprecated public static ChangeLogSet<? extends ChangeLogSet.Entry> createEmpty(AbstractBuild build) { return createEmpty((Run) build); }
private ChangeLogSet<? extends Entry> calcChangeSet() { File changelogFile = new File(getRootDir(), "changelog.xml"); if (!changelogFile.exists()) return ChangeLogSet.createEmpty(this); try { return scm.parse(this,changelogFile); } catch (IOException e) { LOGGER.log(WARNING, "Failed to parse "+changelogFile,e); } catch (SAXException e) { LOGGER.log(WARNING, "Failed to parse "+changelogFile,e); } return ChangeLogSet.createEmpty(this); }
/** * Gets the changes incorporated into this build. * * @return never null. */ @Exported @Nonnull public ChangeLogSet<? extends Entry> getChangeSet() { synchronized (changeSetLock) { if (scm==null) { scm = NullChangeLogParser.INSTANCE; } } ChangeLogSet<? extends Entry> cs = null; if (changeSet!=null) cs = changeSet.get(); if (cs==null) cs = calcChangeSet(); // defensive check. if the calculation fails (such as through an exception), // set a dummy value so that it'll work the next time. the exception will // be still reported, giving the plugin developer an opportunity to fix it. if (cs==null) cs = ChangeLogSet.createEmpty(this); changeSet = new WeakReference<ChangeLogSet<? extends Entry>>(cs); return cs; }
public ChangeLogSet<? extends ChangeLogSet.Entry> parse(AbstractBuild build, File changelogFile) throws IOException, SAXException { return ChangeLogSet.createEmpty(build); } }
public ChangeLogSet<? extends ChangeLogSet.Entry> parse(AbstractBuild build, File changelogFile) throws IOException, SAXException { return ChangeLogSet.createEmpty(build); } }
public ChangeLogSet<? extends ChangeLogSet.Entry> parse(AbstractBuild build, File changelogFile) throws IOException, SAXException { return ChangeLogSet.createEmpty(build); } }
public ChangeLogSet<? extends ChangeLogSet.Entry> parse(AbstractBuild build, File changelogFile) throws IOException, SAXException { return ChangeLogSet.createEmpty(build); } }
@Override public ChangeLogSet<? extends ChangeLogSet.Entry> parse(Run build, RepositoryBrowser<?> browser, File changelogFile) throws IOException, SAXException { return ChangeLogSet.createEmpty(build); }
@Deprecated public static ChangeLogSet<? extends ChangeLogSet.Entry> createEmpty(AbstractBuild build) { return createEmpty((Run) build); }
private ChangeLogSet<? extends Entry> calcChangeSet() { File changelogFile = new File(getRootDir(), "changelog.xml"); if (!changelogFile.exists()) return ChangeLogSet.createEmpty(this); try { return scm.parse(this,changelogFile); } catch (IOException e) { e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } return ChangeLogSet.createEmpty(this); }
private ChangeLogSet<? extends Entry> calcChangeSet() { File changelogFile = new File(getRootDir(), "changelog.xml"); if (!changelogFile.exists()) return ChangeLogSet.createEmpty(this); try { return scm.parse(this,changelogFile); } catch (IOException e) { LOGGER.log(WARNING, "Failed to parse "+changelogFile,e); } catch (SAXException e) { LOGGER.log(WARNING, "Failed to parse "+changelogFile,e); } return ChangeLogSet.createEmpty(this); }
private ChangeLogSet<? extends Entry> calcChangeSet() { File changelogFile = new File(getRootDir(), "changelog.xml"); if (!changelogFile.exists()) return ChangeLogSet.createEmpty(this); try { return scm.parse(this,changelogFile); } catch (IOException e) { e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } return ChangeLogSet.createEmpty(this); }
private ChangeLogSet<? extends Entry> calcChangeSet() { File changelogFile = new File(getRootDir(), "changelog.xml"); if (!changelogFile.exists()) return ChangeLogSet.createEmpty(this); try { return scm.parse(this,changelogFile); } catch (IOException e) { e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } return ChangeLogSet.createEmpty(this); }
private ChangeLogSet<? extends Entry> calcChangeSet() { File changelogFile = new File(getRootDir(), "changelog.xml"); if (!changelogFile.exists()) { return ChangeLogSet.createEmpty(this); } try { return scm.parse(this, changelogFile); } catch (IOException e) { e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } return ChangeLogSet.createEmpty(this); }
/*package*/ FilteredChangeLogSet(IvyBuild build) { super(build); IvyModuleSetBuild parentBuild = build.getParentBuild(); if(parentBuild==null) { core = ChangeLogSet.createEmpty(build); master = Collections.emptyList(); } else { core = parentBuild.getChangeSet(); master = parentBuild.getChangeSetFor(build.getParent()); } }
/*package*/ FilteredChangeLogSet(IvyBuild build) { super(build); IvyModuleSetBuild parentBuild = build.getParentBuild(); if(parentBuild==null) { core = ChangeLogSet.createEmpty(build); master = Collections.emptyList(); } else { core = parentBuild.getChangeSet(); master = parentBuild.getChangeSetFor(build.getParent()); } }
/*package*/ FilteredChangeLogSet(MavenBuild build) { super(build); MavenModuleSetBuild parentBuild = build.getParentBuild(); if(parentBuild==null) { core = ChangeLogSet.createEmpty(build); master = Collections.emptyList(); } else { core = parentBuild.getChangeSet(); master = parentBuild.getChangeSetFor(build.getParent()); } }
/*package*/ FilteredChangeLogSet(MavenBuild build) { super(build); MavenModuleSetBuild parentBuild = build.getParentBuild(); if(parentBuild==null) { core = ChangeLogSet.createEmpty(build); master = Collections.emptyList(); } else { core = parentBuild.getChangeSet(); master = parentBuild.getChangeSetFor(build.getParent()); } }
/*package*/ FilteredChangeLogSet(IvyBuild build) { super(build); IvyModuleSetBuild parentBuild = build.getParentBuild(); if(parentBuild==null) { core = ChangeLogSet.createEmpty(build); master = Collections.emptyList(); } else { core = parentBuild.getChangeSet(); master = parentBuild.getChangeSetFor(build.getParent()); } }