1 /*******************************************************************************
2 * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.internal
.provisional
.analysis
.lami
.core
.types
;
12 import org
.eclipse
.jdt
.annotation
.Nullable
;
15 * Lami 'version' data type
17 * @author Alexandre Montplaisir
19 public class LamiVersion
{
21 private final int fMajor
;
22 private final int fMinor
;
23 private final int fPatchLevel
;
24 private final @Nullable String fExtra
;
27 * Construct a new version number. Normally to be show as:
29 * major.minor.patchlevel.extra
32 * Major version number
34 * Minor version number
36 * Patch version number
38 * Extra version number
40 public LamiVersion(int major
, int minor
, int patchLevel
, @Nullable String extra
) {
43 fPatchLevel
= patchLevel
;
48 * @return The major version number
50 public int getMajor() {
55 * @return The minor version number
57 public int getMinor() {
62 * @return The patchlevel version number
64 public int getPatchLevel() {
69 * @return The extra version number. May be a string, and may be null.
71 public @Nullable String
getExtra() {
This page took 0.032494 seconds and 5 git commands to generate.