Home | History | Annotate | Download | only in util
      1 package org.unicode.cldr.util;
      2 
      3 import java.util.Collection;
      4 import java.util.List;
      5 
      6 import org.unicode.cldr.test.CheckCLDR.CheckStatus;
      7 import org.unicode.cldr.util.VoteResolver.VoterInfo;
      8 
      9 /**
     10  * Provides detailed information about paths and voters
     11  *
     12  * @author markdavis
     13  *
     14  */
     15 public class CLDRInfo {
     16 
     17     public interface PathValueInfo { // DataSection.DataRow will implement
     18         Collection<? extends CandidateInfo> getValues();
     19 
     20         CandidateInfo getCurrentItem();
     21 
     22         String getLastReleaseValue();
     23 
     24         Level getCoverageLevel(); // OK
     25 
     26         boolean hadVotesSometimeThisRelease();
     27     }
     28 
     29     public interface CandidateInfo { // DataSection.DataRow.CandidateItem will implement
     30         String getValue();
     31 
     32         Collection<UserInfo> getUsersVotingOn();
     33 
     34         List<CheckStatus> getCheckStatusList();
     35     }
     36 
     37     public interface UserInfo { // UserRegistry.User will implement
     38         VoterInfo getVoterInfo();
     39     }
     40     // TODO merge into VoterInfo.
     41 }
     42