Skip to contentMethod: getRevisionId()
      1: package migration;
2: 
3: /**
4:  * Version of the fil4l.
5:  * 
6:  * @author Jannik
7:  *
8:  */
9: public class Version {
10:         /**
11:          * The version branch like 3.10 or 4.0 ...
12:          */
13:         private final String version;
14:         /**
15:          * Needed to uniquely identify a version. For example, 3.10.15 or 3.10.16
16:          */
17:         private final Long revisionId;
18: 
19:         /**
20:          * 
21:          * @param version
22:          *            The version branch like 3.10 or 4.0 ...
23:          * @param revisionId
24:          *            The revisionId as Long. 55746 represents r-55746
25:          */
26:         public Version(final String version, final Long revisionId) {
27:                 super();
28:                 this.version = version;
29:                 this.revisionId = revisionId;
30:         }
31: 
32:         /**
33:          * get the version branch like 3.10 or 4.0.
34:          * 
35:          * @return the version
36:          */
37:         public String getVersion() {
38:                 return version;
39:         }
40: 
41:         /**
42:          * get the revisionId as Long. For example 55746 represents r-55746
43:          * 
44:          * @return the revisionId
45:          */
46:         public Long getRevisionId() {
47:                 return revisionId;
48:         }
49: 
50: }