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 getValues()18 Collection<? extends CandidateInfo> getValues(); 19 getCurrentItem()20 CandidateInfo getCurrentItem(); 21 getLastReleaseValue()22 String getLastReleaseValue(); 23 getCoverageLevel()24 Level getCoverageLevel(); // OK 25 hadVotesSometimeThisRelease()26 boolean hadVotesSometimeThisRelease(); 27 } 28 29 public interface CandidateInfo { // DataSection.DataRow.CandidateItem will implement getValue()30 String getValue(); 31 getUsersVotingOn()32 Collection<UserInfo> getUsersVotingOn(); 33 getCheckStatusList()34 List<CheckStatus> getCheckStatusList(); 35 } 36 37 public interface UserInfo { // UserRegistry.User will implement getVoterInfo()38 VoterInfo getVoterInfo(); 39 } 40 // TODO merge into VoterInfo. 41 } 42