#74 - Extend list of train iterations.

This commit is contained in:
Mark Paluch
2018-05-08 15:55:23 +02:00
parent a1a6d86db5
commit 70846427c9
3 changed files with 9 additions and 3 deletions

View File

@@ -24,11 +24,16 @@ import org.springframework.util.Assert;
* Value object to represent an individual release train iteration.
*
* @author Oliver Gierke
* @author Mark Paluch
*/
@Value
public class Iteration {
public static final Iteration SR12 = new Iteration("SR12", null);
public static final Iteration SR16 = new Iteration("SR16", null);
public static final Iteration SR15 = new Iteration("SR15", SR16);
public static final Iteration SR14 = new Iteration("SR14", SR15);
public static final Iteration SR13 = new Iteration("SR13", SR14);
public static final Iteration SR12 = new Iteration("SR12", SR13);
public static final Iteration SR11 = new Iteration("SR11", SR12);
public static final Iteration SR10 = new Iteration("SR10", SR11);
public static final Iteration SR9 = new Iteration("SR9", SR10);

View File

@@ -52,7 +52,7 @@ public class ReleaseTrains {
Iteration M2 = new Iteration("M2", M3);
Iteration M1 = new Iteration("M1", M2);
Iterations kayIterations = new Iterations(M1, M2, M3, M4, RC1, RC2, RC3, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7);
Iterations kayIterations = new Iterations(M1, M2, M3, M4, RC1, RC2, RC3, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9);
KAY = INGALLS.next("Kay", Transition.MAJOR, new Module(GEODE, "2.0")).withIterations(kayIterations);
Iterations lovelaceIterations = new Iterations(M1, M2, M3, RC1, RC2, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7);

View File

@@ -39,6 +39,7 @@ import org.springframework.util.Assert;
/**
* @author Oliver Gierke
* @author Mark Paluch
*/
@Value
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
@@ -185,7 +186,7 @@ public class Train implements Streamable<Module> {
public static class Iterations implements Iterable<Iteration> {
public static Iterations DEFAULT = new Iterations(M1, RC1, GA, SR1, SR2, SR3, SR4, SR5, SR6, SR7, SR8, SR9, SR10,
SR11, SR12);
SR11, SR12, SR13, SR14, SR15, SR16);
private final List<Iteration> iterations;