@@ -0,0 +1,2390 @@
+/*%0A * The Exomiser - A tool to annotate and prioritize genomic variants%0A *%0A * Copyright (c) 2016-2018 Queen Mary University of London.%0A * Copyright (c) 2012-2016 Charit%C3%A9 Universit%C3%A4tsmedizin Berlin and Genome Research Ltd.%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as%0A * published by the Free Software Foundation, either version 3 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage org.monarchinitiative.exomiser.data.genome.model;%0A%0Aimport org.monarchinitiative.exomiser.core.genome.GenomeAssembly;%0A%0Aimport java.util.Objects;%0A%0A/**%0A * @author Jules Jacobsen %3Cj.jacobsen@qmul.ac.uk%3E%0A */%0Apublic class BuildInfo %7B%0A%0A    private final GenomeAssembly assembly;%0A    private final String version;%0A%0A    private BuildInfo(GenomeAssembly assembly, String version) %7B%0A        this.assembly = assembly;%0A        this.version = version;%0A    %7D%0A%0A    public static BuildInfo of(GenomeAssembly assembly, String version) %7B%0A        Objects.requireNonNull(assembly);%0A        Objects.requireNonNull(version);%0A%0A        return new BuildInfo(assembly, version);%0A    %7D%0A%0A    public GenomeAssembly getAssembly() %7B%0A        return assembly;%0A    %7D%0A%0A    public String getVersion() %7B%0A        return version;%0A    %7D%0A%0A    public String getBuildString() %7B%0A        return version + %22_%22 + assembly;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A        BuildInfo buildInfo = (BuildInfo) o;%0A        return assembly == buildInfo.assembly &&%0A                Objects.equals(version, buildInfo.version);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return Objects.hash(assembly, version);%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Build%7B%22 +%0A                %22assembly=%22 + assembly +%0A                %22, version='%22 + version + '%5C'' +%0A                '%7D';%0A    %7D%0A%7D%0A

Add new BuildInfo class