X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fbin%2FBuildDetails.java;h=5f732276e2f5be63574b7d584b5fdde27af52928;hb=55ff94948df7f76bb7fbd4a39a963160b9efa3a2;hp=0a1e2273883b124199fc359cdbcf381008d37174;hpb=90f6f3090a255a7059d0d0f26ddd848253bf9df6;p=jalview.git diff --git a/src/jalview/bin/BuildDetails.java b/src/jalview/bin/BuildDetails.java index 0a1e227..5f73227 100644 --- a/src/jalview/bin/BuildDetails.java +++ b/src/jalview/bin/BuildDetails.java @@ -1,8 +1,27 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.bin; import jalview.api.BuildDetailsI; - public class BuildDetails implements BuildDetailsI { private static String buildDate; @@ -16,6 +35,13 @@ public class BuildDetails implements BuildDetailsI } + /** + * update singleton Strings with these build details + * + * @param version + * @param buildDate + * @param installation + */ public BuildDetails(String version, String buildDate, String installation) { BuildDetails.version = version; @@ -23,6 +49,7 @@ public class BuildDetails implements BuildDetailsI BuildDetails.installation = installation; } + @Override public String getBuildDate() { return buildDate; @@ -33,6 +60,7 @@ public class BuildDetails implements BuildDetailsI BuildDetails.buildDate = buildDate; } + @Override public String getVersion() { return version; @@ -43,6 +71,7 @@ public class BuildDetails implements BuildDetailsI BuildDetails.version = version; } + @Override public String getInstallation() { return installation; @@ -53,6 +82,4 @@ public class BuildDetails implements BuildDetailsI BuildDetails.installation = installation; } - - }