Changeset 1040 for trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationReport.java
- Timestamp:
- 01/16/13 17:51:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationReport.java
r1030 r1040 1 // Copyright 2012 Georg-August-Universität Göttingen, Germany 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 1 15 package de.ugoe.cs.autoquest.usability; 2 16 3 17 import java.util.List; 4 5 import lombok.AccessLevel;6 import lombok.AllArgsConstructor;7 18 8 19 import com.google.common.base.Preconditions; … … 10 21 import de.ugoe.cs.autoquest.usability.evaluation.result.UsabilityDefect; 11 22 12 @AllArgsConstructor(access = AccessLevel.PRIVATE) 23 /** 24 * <p> 25 * TODO comment 26 * </p> 27 * 28 * @author Alexander Deicke 29 */ 13 30 public class UsabilityEvaluationReport { 14 31 15 32 private List<UsabilityDefect> evaluationResults; 16 33 34 private UsabilityEvaluationReport(List<UsabilityDefect> evaluationResults) { 35 this.evaluationResults = evaluationResults; 36 } 37 17 38 public static UsabilityEvaluationReport from(List<UsabilityDefect> evaluationResults) { 18 19 39 Preconditions.checkNotNull(evaluationResults); 40 return new UsabilityEvaluationReport(evaluationResults); 20 41 } 21 42 22 43 public List<UsabilityDefect> evaluationResults() { 23 44 return this.evaluationResults; 24 45 } 25 46 26 47 }
Note: See TracChangeset
for help on using the changeset viewer.