Class ReviewStatusEvaluation


  • public class ReviewStatusEvaluation
    extends java.lang.Object
    abstract class to evaluate review statuses and compute a review result it use a truth table that is specific for use case and must be parameterized in constructor
    • Method Detail

      • createReviewStatusEvaluationForDatamanager

        public static ReviewStatusEvaluation createReviewStatusEvaluationForDatamanager()
                                                                                 throws java.io.IOException
        create truth table for final data manager decision
        Returns:
        Collection of Triple: comprise a three columns formated truth table (research group decision,group leader, group leader assistant)
        Throws:
        java.io.IOException - if failed
      • createReviewStatusEvaluationForGroups

        public static ReviewStatusEvaluation createReviewStatusEvaluationForGroups()
                                                                            throws java.io.IOException
        create truth table for group decision
        Returns:
        Collection of Triple: comprise a three columns formated truth table (research group decision,group leader, group leader assistant)
        Throws:
        java.io.IOException - if failed
      • loadTruthTable

        public static java.util.Collection<org.apache.commons.lang3.tuple.Triple<ReviewStatus.ReviewStatusType,​ReviewStatus.ReviewStatusType,​ReviewStatus.ReviewStatusType>> loadTruthTable​(java.lang.String truth_file)
                                                                                                                                                                                                 throws java.io.IOException
        load truth table from Properties file
        Parameters:
        truth_file - the table to load
        Returns:
        Collection of Triple: comprise a three columns formated truth table (research group decision,group leader, group leader assistant)
        Throws:
        java.io.IOException - if failed