Exemple #1
0
 public final boolean addReleases(Collection<scrum.server.release.Release> releases) {
   if (releases == null) throw new IllegalArgumentException("releases == null");
   boolean added = false;
   for (scrum.server.release.Release release : releases) {
     added = added | this.releasesIds.add(release.getId());
   }
   return added;
 }
Exemple #2
0
 public final boolean addRelease(scrum.server.release.Release release) {
   if (release == null) throw new IllegalArgumentException("release == null");
   boolean added = this.releasesIds.add(release.getId());
   if (added) updateLastModified();
   if (added) fireModified("releases+=" + release);
   return added;
 }
Exemple #3
0
 public final boolean removeRelease(scrum.server.release.Release release) {
   if (release == null) throw new IllegalArgumentException("release == null");
   if (this.releasesIds == null) return false;
   boolean removed = this.releasesIds.remove(release.getId());
   if (removed) updateLastModified();
   if (removed) fireModified("releases-=" + release);
   return removed;
 }
Exemple #4
0
 public final boolean containsRelease(scrum.server.release.Release release) {
   if (release == null) return false;
   return this.releasesIds.contains(release.getId());
 }