Clover icon

Coverage Report

  1. Project Clover database Thu Dec 4 2025 16:11:35 GMT
  2. Package jalview.ws2.actions.annotation

File AnnotationResult.java

 

Coverage histogram

../../../../img/srcFileCovDistChart0.png
60% of files have more coverage

Code metrics

0
8
5
1
56
37
5
0.62
1.6
5
1

Classes

Class Line # Actions
AnnotationResult 18 8 5
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package jalview.ws2.actions.annotation;
2   
3    import java.util.List;
4    import java.util.Map;
5   
6    import jalview.api.FeatureColourI;
7    import jalview.datamodel.AlignmentAnnotation;
8    import jalview.datamodel.features.FeatureMatcherSetI;
9   
10    /**
11    * A simple data container storing the output of annotation tasks. The object is
12    * constructed on {@link AnnotationTask} completion and passed to an appropriate
13    * handler.
14    *
15    * @author mmwarowny
16    *
17    */
 
18    public class AnnotationResult
19    {
20    final List<AlignmentAnnotation> annotations;
21   
22    final boolean hasFeatures;
23   
24    final Map<String, FeatureColourI> featureColours;
25   
26    final Map<String, FeatureMatcherSetI> featureFilters;
27   
 
28  0 toggle public AnnotationResult(List<AlignmentAnnotation> annotations, boolean hasFeatures,
29    Map<String, FeatureColourI> featureColours, Map<String, FeatureMatcherSetI> featureFilters)
30    {
31  0 this.annotations = annotations;
32  0 this.hasFeatures = hasFeatures;
33  0 this.featureColours = featureColours;
34  0 this.featureFilters = featureFilters;
35    }
36   
 
37  0 toggle public List<AlignmentAnnotation> getAnnotations()
38    {
39  0 return annotations;
40    }
41   
 
42  0 toggle public boolean getHasFeatures()
43    {
44  0 return hasFeatures;
45    }
46   
 
47  0 toggle public Map<String, FeatureColourI> getFeatureColours()
48    {
49  0 return featureColours;
50    }
51   
 
52  0 toggle public Map<String, FeatureMatcherSetI> getFeatureFilters()
53    {
54  0 return featureFilters;
55    }
56    }