コード例 #1
0
ファイル: MukiGenerator.java プロジェクト: 97bytes/Muki
 /** Validates the model and adds error messages to the ExecutionResult */
 private void validateModel(ExecutionResult result) {
   result.append("-> Validating the project...");
   ModelUtility modelUtility = new ModelUtility();
   modelUtility.validate(this.getProject(), result);
   if (result.isOk()) {
     result.append("-> Validation is OK");
   } else {
     result.append("-> *** ERROR: The project validation FAILED! See messages above. ***");
     result.append("-> *** You need to fix the issues before code can be generated.  ***");
   }
 }