public MessageKeyVerifier(String enumTypeAsStr) { this(buildEnumClass(enumTypeAsStr)); }
/** * Verify bundles. Passing the Enum with the @BaseName annotation to verify if there is a translation for all the elements of the enum * * @param enumBundle * the enum bundle * @return the int */ public static int verifyBundles(Class enumBundle) { IMessageKeyVerifier mkv = new MessageKeyVerifier(enumBundle); List<Cal10nError> errorList = mkv.verifyAllLocales(); for (Cal10nError error : errorList) { System.out.println(error); } return errorList != null ? errorList.size() : 0; }