Clover icon

Coverage Report

  1. Project Clover database Thu Aug 13 2020 12:04:21 BST
  2. Package jalview.bin

File BuildDetails.java

 

Coverage histogram

../../img/srcFileCovDistChart5.png
39% of files have more coverage

Code metrics

0
9
8
1
85
44
8
0.89
1.12
8
1

Classes

Class Line # Actions
BuildDetails 25 9 8
0.411764741.2%
 

Contributing tests

This file is covered by 6 tests. .

Source view

1    /*
2    * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3    * Copyright (C) $$Year-Rel$$ The Jalview Authors
4    *
5    * This file is part of Jalview.
6    *
7    * Jalview is free software: you can redistribute it and/or
8    * modify it under the terms of the GNU General Public License
9    * as published by the Free Software Foundation, either version 3
10    * of the License, or (at your option) any later version.
11    *
12    * Jalview is distributed in the hope that it will be useful, but
13    * WITHOUT ANY WARRANTY; without even the implied warranty
14    * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15    * PURPOSE. See the GNU General Public License for more details.
16    *
17    * You should have received a copy of the GNU General Public License
18    * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19    * The Jalview Authors are detailed in the 'AUTHORS' file.
20    */
21    package jalview.bin;
22   
23    import jalview.api.BuildDetailsI;
24   
 
25    public class BuildDetails implements BuildDetailsI
26    {
27    private static String buildDate;
28   
29    private static String version;
30   
31    private static String installation;
32   
 
33  2 toggle public BuildDetails()
34    {
35   
36    }
37   
38    /**
39    * update singleton Strings with these build details
40    *
41    * @param version
42    * @param buildDate
43    * @param installation
44    */
 
45  145 toggle public BuildDetails(String version, String buildDate, String installation)
46    {
47  145 BuildDetails.version = version;
48  145 BuildDetails.buildDate = buildDate;
49  145 BuildDetails.installation = installation;
50    }
51   
 
52  0 toggle @Override
53    public String getBuildDate()
54    {
55  0 return buildDate;
56    }
57   
 
58  0 toggle public static void setBuilddate(String buildDate)
59    {
60  0 BuildDetails.buildDate = buildDate;
61    }
62   
 
63  2 toggle @Override
64    public String getVersion()
65    {
66  2 return version;
67    }
68   
 
69  0 toggle public static void setVersion(String version)
70    {
71  0 BuildDetails.version = version;
72    }
73   
 
74  0 toggle @Override
75    public String getInstallation()
76    {
77  0 return installation;
78    }
79   
 
80  0 toggle public static void setInstallation(String installation)
81    {
82  0 BuildDetails.installation = installation;
83    }
84   
85    }